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

Switch from triomphe::Arc to MiniArc, our own Arc implementation #456

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Sep 14, 2024

  1. Switch from triomphe::Arc to MiniArc, our own Arc implementation

    `MiniArc` is like a `std::sync::Arc` but with a few differences:
    
    - No `Weak` references.
    - Uses `AtomicU32` instead of `AtomicUsize` for reference counting.
    - Much smaller code size by having only the necessary methods for us.
    tatsuya6502 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    4bd31ba View commit details
    Browse the repository at this point in the history
  2. Apply cargo fmt

    tatsuya6502 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    2e463d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    0ef051c View commit details
    Browse the repository at this point in the history
  2. Bring MiniArc, our own Arc implementation, from a separate crate …

    …into `moka`
    
    Also enable Miri and Loom tests on the CI (GitHub Actions).
    tatsuya6502 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    14651ee View commit details
    Browse the repository at this point in the history