3 ms·
Hi, I work on CSS parser performance, and error handling isn't really a big pain point; if you removed all error handling overhead, you would not be likely to
by Sesse__ 2y ago
Hi,
I work on CSS parser performance, and error handling isn't really a big pain point; if you removed all error handling overhead, you would not be likely to notice any real performance increase in your web page loading. Most of the time, you just hit the happy path anyway, and the error checks from that is an easily-predicted branch.
A precompiled format (i.e., binary) _may_ help (I don't think anyone has really considered it), but “pre-verified” means it would come down to who you trust to do that verification, so it's a hard sell.