add linearized b+tree in lsmt - #381
Merged
Merged
Conversation
Member
Author
liulanzheng
force-pushed
the
main
branch
8 times, most recently
from
September 28, 2025 04:17
0d7883e to
b59c5cc
Compare
lihuiba
reviewed
Sep 28, 2025
| } | ||
| }; | ||
|
|
||
| #else |
Contributor
There was a problem hiding this comment.
The fallback path (not using LBPT) should be always compiled, and used according to runtime conditions.
|
|
||
| // CPUID leaf 7, subleaf 0 | ||
| // AVX-512F is bit 16 of EBX | ||
| if (__get_cpuid_count(7, 0, &eax, &ebx, &ecx, &edx)) { |
Contributor
There was a problem hiding this comment.
better using __builtin_cpu_supports("avx512f")
liulanzheng
force-pushed
the
main
branch
5 times, most recently
from
September 28, 2025 11:56
ec30bc9 to
6bf0655
Compare
liulanzheng
force-pushed
the
main
branch
4 times, most recently
from
September 29, 2025 12:05
35d6527 to
611c6a7
Compare
lihuiba
reviewed
Sep 30, 2025
|
|
||
| class IndexLBPTAcc : public IndexLBPT { | ||
| public: | ||
| IndexLBPTAcc(vector<SegmentMapping> &&m, uint64_t vsize, LinearizedBptree *lbpt) |
Contributor
There was a problem hiding this comment.
simple using IndexLBPT:: IndexLBPT;
lihuiba
reviewed
Sep 30, 2025
| } | ||
| }; | ||
|
|
||
| Index* new_index_with_lineriazed_bptree(vector<SegmentMapping> &&m, uint64_t vsize = 0) { |
lihuiba
approved these changes
Sep 30, 2025
Member
|
lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Please check the following list: