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

refactor vint #2010

Merged
merged 1 commit into from
Apr 25, 2023
Merged

refactor vint #2010

merged 1 commit into from
Apr 25, 2023

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Apr 25, 2023

  • improve performance of vint
    vint serialization shows up in performance profiles during indexing.
    It would also make sense to limit the value space to u29 and operate on 4 bytes only.
  • remove unused code
  • add missing inlines

- improve performance of vint
vint serialization shows up in performance profiles during indexing.
It would also make sense to limit the value space to u29 and operate on 4 bytes only.
- remove unused code
- add missing inlines
- fix regex test
@codecov-commenter
Copy link

Codecov Report

Merging #2010 (b5a3a94) into main (74f9eaf) will increase coverage by 0.01%.
The diff coverage is 64.51%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main    #2010      +/-   ##
==========================================
+ Coverage   94.43%   94.45%   +0.01%     
==========================================
  Files         320      320              
  Lines       59316    59292      -24     
==========================================
- Hits        56018    56002      -16     
+ Misses       3298     3290       -8     
Impacted Files Coverage Δ
common/src/lib.rs 91.91% <ø> (ø)
src/core/inverted_index_reader.rs 72.51% <0.00%> (-0.56%) ⬇️
src/schema/term.rs 91.21% <ø> (ø)
stacker/src/expull.rs 98.88% <ø> (ø)
sstable/src/dictionary.rs 87.63% <68.42%> (+1.64%) ⬆️
common/src/vint.rs 90.54% <85.71%> (-0.10%) ⬇️
src/tokenizer/regex_tokenizer.rs 95.04% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@PSeitz PSeitz merged commit 7b31100 into main Apr 25, 2023
@PSeitz PSeitz deleted the index_perf branch April 25, 2023 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants