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

colblk: cache KeySeeker in the block metadata #4079

Merged
merged 1 commit into from
Oct 20, 2024

Commits on Oct 20, 2024

  1. colblk: cache KeySeeker in the block metadata

    We allow caching the KeySeeker in the block metadata, saving on
    initialization time.
    
    ```
    name                              old time/op  new time/op  delta
    RandSeekInSST/v4/single-level-10  1.22µs ± 1%  1.22µs ± 1%    ~     (p=0.565 n=7+7)
    RandSeekInSST/v4/two-level-10     2.07µs ± 3%  2.08µs ± 3%    ~     (p=0.744 n=8+8)
    RandSeekInSST/v5/single-level-10  1.06µs ± 1%  1.01µs ± 1%  -5.22%  (p=0.000 n=8+8)
    RandSeekInSST/v5/two-level-10     1.60µs ± 3%  1.54µs ± 5%  -3.17%  (p=0.021 n=8+7)
    ```
    RaduBerinde committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    1ad5f2a View commit details
    Browse the repository at this point in the history