On Wed, 12 Nov 2003, Steve Fink wrote:
> On Nov-12, Leopold Toetsch wrote:
> > I've committed a change that speeds up hash_compare considerably[1],
> > when comparing hashes with mixed e.g. ascii and utf8 encodings.
>
> I read the patch, and thought that we'll also have a lot of ($x eq $y)
> and ($x ne $y) statements that this won't accelerate -- couldn't this be
> done as another string vtable entry instead of being specific to
> hash_compare?
Yeah, that'd be a better way to do it. Add a string_equal function to
string.c and do the magic there instead.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk