On Jan 18, 9:36 pm, Boris Zbarsky <[email protected]> wrote: > The other issue I ran into is that IntrinsicState() can actually be > somewhat expensive if called repeatedly without caching the result (e.g. > the QI+addref+release that Link::LinkState does accounts for about 10% > of the time on reframe of the HTML5 page with the patches in my tree). It would be pretty easy for mozilla::dom::Link to cache a pointer to the nsIContent.
Cheers, Shawn _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

