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

reduce number of allocations #2257

Merged
merged 2 commits into from
Nov 16, 2023
Merged

reduce number of allocations #2257

merged 2 commits into from
Nov 16, 2023

Commits on Nov 15, 2023

  1. reduce number of allocations

    Explanation makes up around 50% of all allocations (numbers not perf).
    It's created during serialization but not called.
    
    - Make Explanation optional in BM25
    - Avoid allocations when using Explanation
    PSeitz committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    095e7c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. use Cow

    PSeitz committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a4cfaa5 View commit details
    Browse the repository at this point in the history