Opened 10 years ago
Closed 8 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: |
Description
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 10 years ago by
Milestone: | 1.5 → future |
---|
comment:2 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.