Ask HN: Can calc() be faster than static %
I just made a little test to compare how slow calc() is comparing to an assigned % width.
But my test would show that calc() is much more faster. I can't believe it and think I made a mistake somewhere.
If you have the time please checkout and point where I made a mistake. If there's no mistake I would say calc() is truly much faster.
git: https://github.com/batjaa/compare-calc
1 comment
[ 2.8 ms ] story [ 14.8 ms ] thread