aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/routing/recognition_optimisation.rb
Commit message (Collapse)AuthorAgeFilesLines
* When checking for the wrong routing method, ensure the environment is passed ↵Joshua Peek2008-12-171-1/+1
| | | | to recognize optimize [#1406 state:resolved]
* Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵Aliaksey Kandratsenka2008-11-061-1/+1
| | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Thread Safety: Ensure recognize_optimized is immediately written instead of ↵Joshua Peek2008-10-271-7/+1
| | | | lazily
* Remove recognized_optimized method before redefining itJeremy Kemper2008-09-081-2/+15
|
* Ensure routing optimizations are cleared when new routes are added [#981 ↵Matt Jones2008-09-071-0/+9
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-281-22/+18
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-281-2/+0
|
* Performance: optimize route recognition. Large speedup for apps with many ↵Jeremy Kemper2008-01-191-0/+158
resource routes. Closes #10835. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de