Skip to content

Commit

Permalink
Reduce encoded array slab size and bump version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fxamacker committed Jul 19, 2023
1 parent 24f8172 commit 1ea371a
Show file tree
Hide file tree
Showing 5 changed files with 739 additions and 196 deletions.
Loading

0 comments on commit 1ea371a

Please sign in to comment.