hi,
i am curious about this change:
commit 01b70e932612e6f706a2a2092832475083f4e6c4 Author: Martin Stjernholm mast@lysator.liu.se Date: Tue Nov 4 15:49:22 2008 +0000
Ported fix from 7.4: Don't use variables to create function aliases. (They don't cause garbage in 7.6 and later, but they're still slow and makes the objects unnecessarily large.)
what makes variables as function aliases slow?
i find it surprising that
mixed mywrite(mixed ... args) { return write(@args); }
should be faster than mywrite = write;
not to forget that in this example i also loose type checking unless i copy the interface exactly.
i find the wrapper also less readable (because i have to check that the wrapper is really just an alias and does not change the function
greetings, martin.