On 24/3/09 6:22 PM, Boris Zbarsky wrote:
On a related note, the eager nature of frame construction and the fact that some cases reconstruct the parent means that there are situations where removing a bunch of kids is O(N^2) in the number of kids (each removal causes a reconstruct of all the kids). I wonder whether it's worth it to look into posting a restyle event to handle the parent reconstruct in MaybeRecreateContainerForFrameRemoval and just removing the frame normally. We can't do that sort of thing as easily on insertions, since we might not have a good place to put the new frame, but it'd work for removals...
If it's really that easy, doesn't that mean that lazy frame construction is also that easy?
Rob _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

