Andy Piper <andy(a)xemacs.org> writes:
>The big question is.. how?
What about generating a hash code for the structure so that by default this
is the only thing you check?
But the common case is (hopefully) for the rune to be equal. Unless
you can guarantee the hash is perfect you need to compare the complete
structure anyway. What would be nice is to just create only one rune
of each type and then just store the address. That would cut down on
memory consumption a lot too. I recall that rune-cache thing that
never happened was something like that.
Jan
P.S. I'm still convinced I must have made some stupid mistake when
implementing the memcmp thing. I'll dig up the path