Commit bdb015a
GetTree tests, Arc zero-copy cache insert
8 integration tests: tree_cache_hit, tree_cache_miss_different_root,
subtree_cache_overlap, coalescing_concurrent, coalescing_leader_failure,
paginated_bypasses_cache, subtree_cache_deduplication, next_page_token.
Arc optimization: BFS result moved into Arc (zero-copy), cache gets
Arc clone (refcount bump), response gets one deep clone. Eliminates
transient double materialization (~5000 heap allocations saved).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 55b45ac commit bdb015a
2 files changed
Lines changed: 691 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
244 | 265 | | |
245 | 266 | | |
246 | 267 | | |
| |||
968 | 989 | | |
969 | 990 | | |
970 | 991 | | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
971 | 997 | | |
972 | | - | |
| 998 | + | |
973 | 999 | | |
974 | 1000 | | |
975 | 1001 | | |
976 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
977 | 1012 | | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | 1013 | | |
984 | 1014 | | |
985 | 1015 | | |
| |||
0 commit comments