> To be honest, John, I haven't tested this implementation using frames... if > you say yes, it works, then I think we could stick with it... but wouldn't > it be a little (just a little) faster to get "doc" outside the method call, > in an outter scope, to maximize performance? It seems to me that it was one > of the points that lowered 30% the time for processing the call, in my > benchmarks...
Well, the problem is that if we move doc to an outside scope it'll either A) Cause some code to break (outer documents, etc.) or B) Require us to do a conditional to determine which document to use - at which point we're worse off then we are now. IMO I would go with whichever one is faster - the one that I proposed or Diego's (since they work equally across all documents). --John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
