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

Reduce size of encoded array slab and bump version #330

Merged
merged 1 commit into from
Aug 2, 2023

Commits on Jul 19, 2023

  1. Reduce encoded array slab size and bump version

    Changes:
    - bump Atree format version to 1 (was 0)
    - remove redundant version and flag data from root slabs
      (2 bytes per root slab)
    - remove redundant slab address from children headers in metadata slab
      since all child slabs have the same address
      (8 bytes per child header per metadata slab)
    - reduce encoded child slab size in children headers in metadata slab
      from 4 bytes to 2 bytes
      (2 bytes per child header per metadata slab)
    - decode version 0 and 1
    - encode only version 1
    - add tests to decode array slabs data in version 0
    fxamacker committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    1ea371a View commit details
    Browse the repository at this point in the history