1.6.0.1 still uses element.ancestors() ... The code is very elegant, but imvho a performance gain could be achieved by checking the selector before all the ancestors are gathered.
On Jan 22, 11:06 pm, kangax <[EMAIL PROTECTED]> wrote: > Get latest version of prototype (1.6.0.1+) - all traversal methods > have gained 2x/3x performance increase. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
