Commit 396ff28
authored
LongVectors: fix unnecessary copy of the input data (microsoft#7746)
Previously getInputValueSetByKey returned a copy of the input data,
which was then copied again into the actual input set, with the size
adjusted.
This change just uses a reference to the raw data set, and inlines the
operation to get that reference.1 parent 7f80fbc commit 396ff28
2 files changed
Lines changed: 6 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
666 | 663 | | |
667 | 664 | | |
668 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 280 | | |
290 | 281 | | |
291 | 282 | | |
| |||
0 commit comments