-
Notifications
You must be signed in to change notification settings - Fork 74
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
level: fix index in move_l0_to_front #192
Conversation
Would you please sign DCO? Thanks! |
Signed-off-by: Tianion <[email protected]>
585cbff
to
8bfa644
Compare
Done. |
hmm... still need to fix CI errors. Would you please check format / clippy / tests? Thanks! |
Signed-off-by: Tianion <[email protected]>
Signed-off-by: Tianion <[email protected]>
Still need to fix CI errors.... It's a bit frustrating. Now use
but in agate_bench
in skiplist
|
Signed-off-by: Tianion <[email protected]>
Thanks a lot! |
We probably need to add Cargo.lock so that the patch will be applied... |
I'll take a look later :) |
Could a lib add cargo.lock...? It seems strange. |
I check command, and find
|
Signed-off-by: Tianion <[email protected]>
24a19c2
to
a8b584c
Compare
Yeah, because the upstream library is using a patch + lock... So I think it would be fine for now. We can remove it later. |
But it seems that it already works, so I would prefer merging it without adding Cargo.lock for now. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #192 +/- ##
==========================================
- Coverage 89.63% 89.60% -0.04%
==========================================
Files 39 39
Lines 8838 8838
==========================================
- Hits 7922 7919 -3
- Misses 916 919 +3 |
move_l0_to_front moves level0 to the front, and the others remain unchanged.
But it use 'idx' not 'pos'