aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-21 15:30:02 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-21 15:30:02 -0700
commit6486c7ac94268728c4255b420d36cb859cd3ea20 (patch)
tree4d3e31b16616c8ed997d4bdba017dba66f04a436 /actionpack/lib/abstract_controller.rb
parente35225e938820544f7e5b29475c2f8cc4da5cb1a (diff)
downloadrails-6486c7ac94268728c4255b420d36cb859cd3ea20.tar.gz
rails-6486c7ac94268728c4255b420d36cb859cd3ea20.tar.bz2
rails-6486c7ac94268728c4255b420d36cb859cd3ea20.zip
drop array allocations on Mime::Type#=~
Synonyms are always a list of strings, and we have access to the internal string representation, so we can avoid allocating new arrays.
Diffstat (limited to 'actionpack/lib/abstract_controller.rb')
0 files changed, 0 insertions, 0 deletions