3 ms·
When you consider that layout typically depends on fonts, which are hideously complicated, it's a lot worse than that. Text line breaking involves a lot of allo
by pcwalton 10y ago
When you consider that layout typically depends on fonts, which are hideously complicated, it's a lot worse than that. Text line breaking involves a lot of allocation, etc.
Also, layout is typically memory-bound. The arithmetic intensity is sadly fairly low.
I do agree with you, though. Sadly very few Web developers and designers care about performance of layout; all everyone seems to want is new features without any regard for performance...