jquery html() vs empty().append() performance
I have created a test case at
http://jsperf.com/jquery-html-vs-empty-append-test to compare the
performance of $.html() with $.empty().append(). I wondered that
.empty().append() is faster.
Can anyone explain this performance gap?
Thanks.
No comments:
Post a Comment