Hi,

> $(.dialog) does 815 function calls (!!!!)
> $('#speech28') does 6 function calls

That is not very surprizing. $('#speech28') only needs to call 
getElementById() and make a jQuery Object from it. $('.dialog') gets all 
elements, puts them into an array and filters that array for the classnames. 
Maybe that could be optimized by filtering while walking the tree. Then only 
the matching Elements would be put into the array and it doesn't need to be 
filtered afterwards.

Christof

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to