plar / go-adaptive-radix-tree

Adaptive Radix Trees implemented in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prefix search issue

jojo05 opened this issue · comments

I insert "elector", "electibles" and then "elect", "electible"
Below are the prefix queries after each insert. The last "electible" is missing. Is this a bug ?

Thanks
t-art.txt

->
electibles -> 1
elector -> 0

->
elect -> 0
electibles -> 1
elector -> 0

It works now. Thanks