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

"Frozen" serialization format #199

Merged
merged 4 commits into from
Feb 25, 2019
Merged

Commits on Feb 24, 2019

  1. "Frozen" serialization format

    Container data is stored in a format identical
    to their C memory layout.
    Instead of full deserialization, a lightweight readonly
    view can be created atop of provided buffer.
    This reduces amount of allocations and copying
    and is suitable for creating readonly bitmaps from
    memory mapped files.
    
    * Added new functions:
      roaring_bitmap_frozen_size_in_bytes()
      roaring_bitmap_frozen_serialize()
      roaring_bitmap_frozen_view()
    
    * copy_on_write was moved into more generic roaring_array_t.flags
      To modify copy_on_write behavior, new functions were added:
      roaring_bitmap_get_copy_on_write()
      roaring_bitmap_set_copy_on_write()
    
    * roaring_bitmap_free() now takes pointer to a constant bitmap
    andreigudkov committed Feb 24, 2019
    Configuration menu
    Copy the full SHA
    b82c5cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82c05da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46e11d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Configuration menu
    Copy the full SHA
    45f7c96 View commit details
    Browse the repository at this point in the history