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

*: Wire up L0SubLevels with iterator and version creation #624

Merged

Commits on Apr 21, 2020

  1. *: Wire up L0SubLevels with iterator and version creation

    This change effectively lowers read amplification in L0 by taking
    advantage of knowledge about sublevels contained in
    Version.L0SubLevels and using it to create levelIters for each sublevel
    instead of directly adding one iterator per file to the mergingIter.
    The get_iter is also updated to take advantage of this information.
    
    The Version struct is also updated, as a result of this change, to
    hold a reference to an L0SubLevels instance. That reference is initialized
    during Version initialization in version_edit.
    
    Most of the test changes are a result of always printing the sublevel
    alongside the level for L0.
    itsbilal committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    089202d View commit details
    Browse the repository at this point in the history