aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAleksey Magusev <lexmag@gmail.com>2012-09-03 00:40:49 +0400
committerAleksey Magusev <lexmag@gmail.com>2012-09-05 02:49:10 +0400
commit69723138ad67a3c0b708b907f2831531cf87e55b (patch)
tree09760863cc24d5223728bfb4aef5c13016ea0b98 /.gitignore
parentebc50c505d3c49b0fac7eccf85da6df751d4023c (diff)
downloadrails-69723138ad67a3c0b708b907f2831531cf87e55b.tar.gz
rails-69723138ad67a3c0b708b907f2831531cf87e55b.tar.bz2
rails-69723138ad67a3c0b708b907f2831531cf87e55b.zip
Refactor `Mime::Type`
`parse` method performance improvements - ~27-33%: accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, , pronto/1.00.00, sslvpn/1.00.00.00, */*" Benchmark.measure{ 1_000_0.times { Mime::Type.parse(accept) }} old: 1.430000 0.000000 1.430000 ( 1.440977) new: 0.920000 0.000000 0.920000 ( 0.921813)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions