by bumblebird · 16y ago · 0 comments
I doubt there is any real bias though, js libs have different aims. Some aim to have complete browser support at the expense of speed+size, some assume a certain level of browser, and so come in much faster.
The fastest lib though is always going to be no lib. It's far easier to optimize your own code.
This is only true if you already know all of the performance hacks in each browser. By using a library, you can outsource the need to worry about that to a third party. Also, only about 5% of your code is ever going to underperform, so deciding to not use a library means you're wasting time on the other 95%.
You know, choosing something based on how well it fits the problem?