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-08-15 12:31:07 +00:00
2024-09-19 10:39:06 +02:00
2024-08-08 07:45:30 +02:00
2024-05-31 09:13:56 +02:00
2024-08-15 12:31:07 +00:00
2024-08-15 12:31:07 +00:00
2024-07-13 20:42:49 +02:00
2024-01-14 10:41:23 +07:00
2024-07-16 19:47:59 +00:00
2024-08-08 07:45:30 +02:00
2024-08-08 07:45:30 +02:00
2024-08-08 07:45:30 +02:00