Y
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
dsego
4833 days ago
That's not true any more:
http://jsperf.com/fragment-vs-appendchild-vs-innerhtml/8
link
MatthewPhillips
4833 days ago
That used to be true, but nowadays it depends on the browser and the difference is a rounding error.
link
dclowd9901
4833 days ago
Then why wouldn't jquery just proxy it? It's not like the creators are shitty at JavaScript.
link