Tuesday, December 30, 2008

[jQuery] Interesting on document ready question

Is document ready "actually" an event handler?

Let's say I have

$(function(){

});
$(function(){

});
$(function(){

});
$(function(){

});
$(function(){

});

etc ..... around 5000 of those.

Will it actually degrade performance like 5000 bind()?
My guess is not much performance penalty, but again, it's a guess.

No comments: