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

Zero copy serialization #305

Merged
merged 8 commits into from
May 14, 2024
Merged

Zero copy serialization #305

merged 8 commits into from
May 14, 2024

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    e9ab663 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c0098f View commit details
    Browse the repository at this point in the history
  3. mmap file when reading cache

    LGFae committed May 14, 2024
    Configuration menu
    Copy the full SHA
    160a812 View commit details
    Browse the repository at this point in the history
  4. serialize directly onto mmaped file

    This avoid an extra copy, where we were first putting everything in a
    large vector, then serializing those into bytes, THEN mapping that to
    the file.
    
    Now, the ImageRequestBuilder will by itself already write the image
    requests to the mmapped file.
    
    The code has gotten unruly, we should do some refactoring later.
    LGFae committed May 14, 2024
    Configuration menu
    Copy the full SHA
    215ba1d View commit details
    Browse the repository at this point in the history
  5. refactor ipc into multiple modules

    Things were getting way too chaotic. Now we have multiple smaller files,
    each roughly concerned with a different problem.
    LGFae committed May 14, 2024
    Configuration menu
    Copy the full SHA
    c05550e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ee86ade View commit details
    Browse the repository at this point in the history
  7. increase MSRV to 1.75.0

    LGFae committed May 14, 2024
    Configuration menu
    Copy the full SHA
    023392e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a15025d View commit details
    Browse the repository at this point in the history