Jacek Sieka 2fe8cc4551
leaf cache fixes (#2637)
* Add missing leaf cache update when a leaf turns to a branch with two
leaves (on merge) and vice versa (on delete) - this could lead to stale
leaves being returned from the cache causing validation failures - it
didn't happen because the leaf caches were not being used efficiently :)
* Replace `seq` with `ArrayBuf` in `Hike` allowing it to become
allocation-free - this PR also works around an inefficiency in nim in
returning large types via a `var` parameter
* Use the leaf cache instead of `getVtxRc` to fetch recent leaves - this
makes the vertex cache more efficient at caching branches because fewer
leaf requests pass through it.
2024-09-19 10:39:06 +02:00
..
2024-09-12 16:09:42 +07:00
2024-09-10 05:24:45 +00:00
2024-09-19 10:39:06 +02:00
2024-09-12 16:09:42 +07:00
2024-05-31 09:13:56 +02:00
2024-09-10 05:24:45 +00:00
2024-06-14 10:08:44 +02:00