-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Rocks db window utils #1851
Rocks db window utils #1851
Conversation
e3a7dcc
to
153ef83
Compare
src/db_ledger.rs
Outdated
self.get(db, &key) | ||
} | ||
|
||
pub fn put_on_slot_index( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a precedent for "on", my brain wants to see "by"...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is indeed much better xD
src/db_window.rs
Outdated
@@ -0,0 +1,583 @@ | |||
//! The `window` module defines data structure for storing the tail of the ledger. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blast from the past
3830112
to
e672864
Compare
e672864
to
8321ef8
Compare
@carllin, mvines is OoO this week. No need to wait for his review. |
) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.2 to 15.9.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Problem
Need a separate set of window functions before replacing current window implementation with RocksDb implementation. @garious, we can replace RocksDb with a pure Rust implementation, but seeing as we've invested already in an initial implementation using RocksDb, we're interested in first seeing the performance of integrating these changes. (Integration PR is coming after this one gets merged)
Summary of Changes
Add a module for windowing functions based on RocksDb
Fixes #