Save a few instructions in SearchStepWise
This commit is contained in:
@@ -765,9 +765,8 @@ struct SearchStepWise {
|
|||||||
if (remaining.size() == 0) {
|
if (remaining.size() == 0) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
int c = getChildGeq(n, remaining[0]);
|
auto *child = getChild(n, remaining[0]);
|
||||||
if (c == remaining[0]) {
|
if (child != nullptr) {
|
||||||
auto *child = getChildExists(n, c);
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (; i < child->partialKeyLen; ++i) {
|
for (; i < child->partialKeyLen; ++i) {
|
||||||
if (!(i + 1 < int(remaining.size()) &&
|
if (!(i + 1 < int(remaining.size()) &&
|
||||||
|
Reference in New Issue
Block a user