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

feature: store intermediary reduce values #1

Open
mikeal opened this issue Feb 3, 2021 · 0 comments
Open

feature: store intermediary reduce values #1

mikeal opened this issue Feb 3, 2021 · 0 comments

Comments

@mikeal
Copy link
Owner

mikeal commented Feb 3, 2021

There’s two primary use cases I’m thinking of.

  1. We can migrate the SpareArray to storing integer deltas for keys and we can put the sum in each branch key. This way, we can take SQL proofs for append-only INSERT statements and commute them together. We just take the number of appended entries in each tree and we can glue them all together with minimal computation and churn.
  2. We can make a DBNumberIndex that stores the sum and count reduce values for each part of the tree. Then we can drastically speed up SQL statements for many math operations.
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

No branches or pull requests

1 participant