Commit 4069fc9
committed
fix: significant fixes for cursorediterator and LR3 based on testing
- Change cursors to be stored back-to-front, which allows a simple `append` instead of cloning the slice, which is much better for memory
- Fix context cancelation handling in the cursorediterator blocks to ensure the error is always returned to the caller
- Add additional cancelation testing to the cursorediterator
- Change LR3 to store the resource chunks via a cache instead of inside the cursor: this makes cursors small again and reduces serialization time immensely
- Fix DB cursor handling logic bug in LR3
- Other small changes to LR3 to reduce memory usage
- Reduce use of Sprintf in favor of manual concats in hot paths1 parent 148dca7 commit 4069fc9
File tree
19 files changed
+1585
-2789
lines changed- internal
- cursorediterator
- dispatch
- graph
- graph
- pkg
- genutil/mapz
- proto/dispatch/v1
- tuple
- proto/internal/dispatch/v1
19 files changed
+1585
-2789
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
0 commit comments