Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accumulator/forestdata: Improvements to cowforest #256

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

kcalvinalvin
Copy link
Member

Things done:

  1. Add caching strategy to cowForest.It has a slightly better caching now. cowForest treeBlocks (subtrees) now have a height of 1 (3 leaves). This makes the cowForest not backwards compatible with a previously saved cowForest.

  2. Add stats for treeTable hits/misses. (misses are very low).

  3. Add a test for writing the cowforest (tests flushes as well).

  4. Flag for cowmaxcache now in MB instead of treeTable max count.

CowForest has slightly better caching now and faster flush and restore
from disk. Is not backwards compatible with a previously saved cowforest
@adiabat adiabat merged commit 259fc1a into mit-dci:master Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants