Commit 5a7bacc
committed
Unbind nns_to_hvectors 'txn lifetime
get_item bound HVector to 'txn lifetime, doing zero-copy, but this
complicates some traversal operations. So now, when data is required, we
allocates using the arena and therefore binds HVector's lifetime to the
arena1 parent 9b9d6a7 commit 5a7bacc
2 files changed
+6
-10
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 523 | + | |
527 | 524 | | |
528 | 525 | | |
529 | 526 | | |
| |||
567 | 564 | | |
568 | 565 | | |
569 | 566 | | |
570 | | - | |
| 567 | + | |
| 568 | + | |
571 | 569 | | |
572 | 570 | | |
573 | 571 | | |
| |||
0 commit comments