Incorrect calculating offset for _BTree.findAnyIndex(forKey: Key) (347 line)
Hi, i use SortedDictionary for my project and I may found an error. In function _Btree.findAnyIndex.
If there is a slot equal to key, offset does not take into account children’s depth for slots before founded slot.
Incorrect calculating offset for _BTree.findAnyIndex(forKey: Key) (347 line)
Hi, i use SortedDictionary for my project and I may found an error. In function _Btree.findAnyIndex. If there is a slot equal to key, offset does not take into account children’s depth for slots before founded slot.
Information
Checklist
main
branch of this package.Expected behavior
Offset calculates with children’s depth for slots before founded slot.