Opened 12 years ago

Closed 10 years ago

#10124 closed task (wontfix)

startup() arguments

Reported by: bill Owned by: bill
Priority: high Milestone: future
Component: Dijit Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:


For performance, consider passing [an optional] parameter to startup() specifying the parent widget, and/or whether or not the parent widget will call resize() on the child (this).

That will avoid the getParent() call in startup().

Not sure if this change would have a performance impact or not. getParent() should be fast for something like MenuItem since the Menu is directly above it. getParent() for a widget deeply nested in a ContentPane will take longer, although that sounds like an uncommon case.

Change History (2)

comment:1 Changed 12 years ago by bill

Milestone: 1.5future

comment:2 Changed 10 years ago by bill

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.