Greg Stein <email@example.com> writes:
> Sure, stuff like this can be changed. There aren't too many consumers of the
> hash interface (yet) in APR/Apache. We're using them quite a bit in SVN, but
> I have noticed that people aren't using 0 for the length much(??).
If anyone's depending on it, I'm sure it won't be too much trouble to
> Well, a zero-length key is awfully strange. When does that happen?
> I'm quite willing to make this change, but I'd like to understand the
> scenario a bit more.
I know a time when it could happen in the working copy: in a
directory, all entries have non-empty names except the dir itself --
because it cannot know its own name, it has the empty string for a
name. So if I were hashing entries for some reason, I'd probably want
that to Just Work.
Received on Sat Oct 21 14:36:10 2006