3 ms·
It's a simple optimization to only reevaluate a formula when the constituent variables change (in these cases, the viewport sizes and root font size). I know th
by majewsky 10y ago
It's a simple optimization to only reevaluate a formula when the constituent variables change (in these cases, the viewport sizes and root font size). I know that at least Qt Quick implements this optimization, and I would assume that browser developers already do that, too.
- amelius 10y agoYes, but browser vendors can choose whether they optimize it, so don't count on it!