Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants