[Gambas-user] problems in trie class
Tobias Boege
taboege at ...626...
Mon Dec 1 19:05:41 CET 2014
On Mon, 01 Dec 2014, Tobias Boege wrote:
> > If they are keys, they should be ASCII, not UTF-8, like with the
> > Collection class.
> >
>
> Currently the Trie supports arbitrary sequences of bytes as keys. It would
> take some time to move the code back in that restricts the key space to
> ASCII sequences. Consequently I'd like to leave it as-is.
>
OTOH, I will save 16 bytes per trie node if I restrict the key space to
ASCII. I'll put the restriction back in place sometime later.
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list