Re: Revisiting IndexOf
Smaug <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 6/22/09 4:54 PM, Boris Zbarsky wrote: > I was looking at some profiles recently that happened to spend a lot of > time in IndexOf because they thrashed our IndexOf cache. Bug numbers? > > Thoughts? Comments? Votes up/down? ;) The setup doesn't sound too complicated, but would be great to have some worst-case-tests and also best-case-tests - at least to see where the time is spent currently and where with the approach. (I wish someone would make also nsIFrame tree handling fast, especially getting the last child - that shows up in the profiles pretty often.) -Olli