View Full Version : Doubly-named functions

DHTML Kitchen
04-19-2005, 07:51 PM
How much extra memory does it take to create a doubly-named function, for example:
Editor.pageMouseDown = function(e) Editor_pageMouseDown
Editor.pageMouseDown = function(e)
It seems that polluting the GLUT (global lookup) would make performance slower overall.

I'd actually like to test to know. How should I test this?

The advantage to having a named function is it makes debug easier.