Save a few instructions in SearchStepWise

This commit is contained in:
2024-02-22 15:30:24 -08:00
parent 7f5598af2b
commit 4c3e7aef30

View File

@@ -765,9 +765,8 @@ struct SearchStepWise {
if (remaining.size() == 0) {
return true;
} else {
int c = getChildGeq(n, remaining[0]);
if (c == remaining[0]) {
auto *child = getChildExists(n, c);
auto *child = getChild(n, remaining[0]);
if (child != nullptr) {
int i = 0;
for (; i < child->partialKeyLen; ++i) {
if (!(i + 1 < int(remaining.size()) &&