No algorithm that processes strings in Pike should care about null characters. Not because it would mess up data (which it would), but because the implication is that it would use O(n) methods to find the end of the string. We have the length as an integer. Use it.
/ Martin Nilsson (räfsfiskal)
Previous text:
2004-05-17 03:00: Subject: Re: What about Judy
In the last episode (May 16), Martin Nilsson (rfsfiskal) @ Pike (-) developers forum said:
Not really useful if you want to replace algorithms for basic Pike types.
Would simply null-escaping the key before passing it to Judy be enough? I'm not really sure what the hash value in the current mapping code is, and whether you'd use that or something else if using Judy.
-- Dan Nelson dnelson@allantgroup.com
/ Brevbäraren