If you've got 5000 of those, it's *seriously* time to reconsider your coding techniques..... depending on that much JavaScript is just plain old stupid......
On Dec 30, 8:59 pm, Kean <shenan...@gmail.com> wrote: > 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.