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/action_dispatch
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
..
http "subhash" --> "sub-hash" 2014-04-19 04:03:43 +05:30
journey Optimize URI escaping 2014-04-20 10:11:38 +01:00
middleware Display diagnostics in text format for xhr request 2014-04-14 20:48:13 +07:00
request Log which keys were set to nil in deep_munge 2014-01-28 20:29:38 +01:00
routing Only make deeply nested routes shallow when parent is shallow 2014-04-11 10:20:54 +01:00
testing Remove surplus period from assertion messages 2014-04-13 11:13:21 +02:00
journey.rb
railtie.rb Add configuration option to optionally disable deep_munge 2013-12-05 12:08:34 +01:00
routing.rb Update documentation to use Rails.application instead 2014-04-13 05:52:04 -05:00