Michael Koziarski
2007-Sep-01 02:18 UTC
Patch Testers sought, significantly faster named routes
http://dev.rubyonrails.org/ticket/9450 The detailed description is in the ticket, but in my testing this patch makes named route generation between 6x and 20x faster. For applications with a large number of routes, odds are it''s even faster. I''m seeking testers with a large number of named routes, who can really put this optimisation through its paces. We''re looking for anything which breaks. So far the only case I''ve found is that customer_url("//") will currently raise a RoutingError, but with this patch it will generate /customers/%2F%2F. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Michael Koziarski
2007-Sep-06 08:56 UTC
Re: Patch Testers sought, significantly faster named routes
> The detailed description is in the ticket, but in my testing this > patch makes named route generation between 6x and 20x faster. For > applications with a large number of routes, odds are it''s even faster. > > I''m seeking testers with a large number of named routes, who can > really put this optimisation through its paces. We''re looking for > anything which breaks.So far I''ve fixed the two breakages that have been reported, and extended the optimisation code to cater for the additional arguments syntax that ian provided in [7411]. If you''re doing something ''different'' with named routes, or just using a lot of them, I''d really appreciate some comments on the patch. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---