From: Robert R. <rra...@ya...> - 2001-02-07 07:58:36
|
I was wondering if it would be better on memory to use the same object for the prototype initializers in the widgets. Like: List.prototype = new DynLayer() could be changed to List.prototype = DynLayer.static where DynLayer.static = new DynLayer(); If you initialized DynLayer.static in the DynLayer, would it be possible to use this same object for initializing all of the prototypes that subclass the dynlayer(the widgets)? -- // Robert Rainwater ---------------------- DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ DynAPI Homepage: http://dynapi.sourceforge.net/ |