python Programming Glossary: p.isprefix
python implementation of patricia tries http://stackoverflow.com/questions/3121916/python-implementation-of-patricia-tries but isPrefix shows the following behavior which puzzles me p.isPrefix 'b' True p.isPrefix 'f' True p.isPrefix 'e' False good as expected.. following behavior which puzzles me p.isPrefix 'b' True p.isPrefix 'f' True p.isPrefix 'e' False good as expected and then p.isPrefix.. which puzzles me p.isPrefix 'b' True p.isPrefix 'f' True p.isPrefix 'e' False good as expected and then p.isPrefix 'ba' True also..
|