1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Andrew White a61792574d Optimize URI escaping
The URI::Parser#escape method is a general use method that has to deal
with a variety of input however our use of it is limited in scope so
we can increase the performance by implementing our specific needs
within ActionDispatch::Journey::Router::Utils directly.

If there is no encoding required then there is no change in performance
or number of objects allocated, but for each character that needs to be
encoded we save five object allocations and gain a performance boost.
The performance boost seen varies from 20% when there is one character
to over 50% when encoding ten characters.
2014-04-20 10:11:38 +01:00
..
abstract_controller Check if the request variable isn't nil when calling render_to_string 2014-02-20 20:53:47 +02:00
action_controller Update AC::Metal documentation example [ci skip] 2014-04-15 13:57:42 -07:00
action_dispatch Optimize URI escaping 2014-04-20 10:11:38 +01:00
action_pack Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
action_dispatch.rb ActionDispatch::Head was replaced by Rack::Head. Closes #14191. 2014-02-25 11:20:12 +01:00
action_pack.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30