While all the discussion around Schwartzian transforms is interesting, the
single ultimate question is:
"Can perl automatically optimize away function and tie calls inside
a sort function, and under what circumstances?"
It doesn't really matter if the functions inside the sort function are
idempotent--what matters is whether it's OK for us to go and memoize the
things (or whatever else we might choose to do)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk