Adaptive Learned Index
Predict the position, then check the answer
An ordered C++20 index that predicts a key’s position within a provable bound, with 0 wrong answers in 2.03 billion fuzzed operations. My primary claim failed: ALEX stayed 1.2x to 3.4x faster.
C++20, ASan and UBSan, LLVM coverage
Demo of Adaptive Learned Index GitHub, Adaptive Learned Index