Hacker News new | ask | show | jobs
by wmil 4833 days ago
I haven't seen any profiling of jQuery, but last I heard createElement('div') and appendChild was slower than innerHTML ="<div></div>".
3 comments

That used to be true, but nowadays it depends on the browser and the difference is a rounding error.
Then why wouldn't jquery just proxy it? It's not like the creators are shitty at JavaScript.