fix prefixless search

This commit is contained in:
Linus Björnstam 2026-02-11 20:59:55 +01:00
parent 280177a9cb
commit a9b6ed9161
12 changed files with 1054 additions and 44 deletions

View file

@ -43,7 +43,12 @@ public class BTreeFuzzTests
if (isInsert)
{
// ACTION: INSERT
if (showOps)Console.WriteLine("insert");
if (showOps)Console.WriteLine($"insert: {key} : {val}");
if (key == 4436)
{
Console.WriteLine("BP");
}
reference[key] = val;
subject.Set(key, val);
}
@ -52,7 +57,7 @@ public class BTreeFuzzTests
// ACTION: REMOVE
if (reference.ContainsKey(key))
{
if (showOps)Console.WriteLine("remove");
if (showOps)Console.WriteLine($"remove ${key}");
reference.Remove(key);
subject.Remove(key);
}