Another thing I noticed while profiling my code is that the jQuery
method filter() gets called a lot, over 5000 times in a relitively
short space of time when only performing a small number of
operations.  It also stood out because its worst-case run time was
250ms.  Maybe I can get a speedup if I can avoid filter() as much as
possible.  I use filter() explicitly relitively little in my own code,
so have you got any ideas where I can find speedups?



On Jun 15, 5:35 pm, Gordon <[EMAIL PROTECTED]> wrote:
> I am trying to find speedups in a piexe of jQuery code, unfortunately
> I am running out of tricks.  I've tried to reduce or eliminate the use
> of $ in loops, but in a few places I've been using $(this) in loos,
> mainly each loops.
>
> I would like to know if there are faster ways of doing things other
> than using $(this), as I have a feelign that if I can elimate it I can
> save myself some time in the loops.

Reply via email to