> "...was that people would switch from truly excellent JavaScript libraries like jQuery to Closure on the strength of the Google name."
This is ridiculous. Does not the mere fact that jquery keep announcing 4000% speedups with every new release not tell you something about the efficiency of jquery?
Unbelievably biased. If you looked at the jquery code you'd find the same sort of things, and some far worse.
From jquery release notes:
... coming in almost 30x faster than our previous solution
... coming in about 49% faster than our previous engine
... much, much faster (about 6x faster overall)
... Seeing an almost 3x jump in performance
... improved the performance of jQuery about 2x compared
to jQuery 1.4.1 and about 3x compared to jQuery 1.3.2
... Event Handling is 103% Faster
... jQuery.map() method is now 866% faster
... .css() is 25% faster
Maybe it's just me, but when someone says they've speeded up their code so it runs 30 times as fast, you have to really wonder just how badly it was written to start with, and how badly it's still written.
These improvements have occurred over time, as browsers gain new features and new techniques are discovered. They (the jQuery contributors) focus on the features and optimize what can be optimized when there is a need.
The optimized solution is often much uglier than the simple but less efficient one.
Comments
> "...was that people would switch from truly excellent JavaScript libraries like jQuery to Closure on the strength of the Google name."
This is ridiculous. Does not the mere fact that jquery keep announcing 4000% speedups with every new release not tell you something about the efficiency of jquery?
Unbelievably biased. If you looked at the jquery code you'd find the same sort of things, and some far worse.
From jquery release notes:
Maybe it's just me, but when someone says they've speeded up their code so it runs 30 times as fast, you have to really wonder just how badly it was written to start with, and how badly it's still written.These improvements have occurred over time, as browsers gain new features and new techniques are discovered. They (the jQuery contributors) focus on the features and optimize what can be optimized when there is a need.
The optimized solution is often much uglier than the simple but less efficient one.