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

Add Entry struct to abstract away key-value pairs #785

Merged
merged 2 commits into from
Sep 24, 2021
Merged

Conversation

vweevers
Copy link
Member

Small thing. Prep work that will reduce the amount of code needed for all() and getMany() (Level/abstract-leveldown#380).

Has no impact on performance.

iterate 1632488598249

@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Sep 24, 2021
@vweevers vweevers merged commit 576d135 into master Sep 24, 2021
@vweevers vweevers deleted the entry-struct branch September 24, 2021 16:02
"blockRestartInterval", 16);
uint32_t maxFileSize = Uint32Property(env, options, "maxFileSize", 2 << 20);
const uint32_t maxFileSize = Uint32Property(env, options, "maxFileSize", 2 << 20);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const ❤️ Good thinking. Very good practice in c++ to use const as much as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants