aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/test/controllers
diff options
context:
space:
mode:
authorJonathan Hefner <jonathan@hefner.pro>2019-05-04 12:54:28 -0500
committerJonathan Hefner <jonathan@hefner.pro>2019-05-05 11:53:20 -0500
commit52498ccafd718975dc7ad8df2bf7f4a9614a239d (patch)
tree4fd8204ceab1526df8f754d30e6d378362d4d1a3 /actionmailbox/test/controllers
parent9b0e632def6a66bbd0c0aba8531b2a173f7c3064 (diff)
downloadrails-52498ccafd718975dc7ad8df2bf7f4a9614a239d.tar.gz
rails-52498ccafd718975dc7ad8df2bf7f4a9614a239d.tar.bz2
rails-52498ccafd718975dc7ad8df2bf7f4a9614a239d.zip
Avoid extra allocation in String#from and #to
Removes unnecessary Range object allocations for a significant speed-up. String#from Comparison: new: 3378594.0 i/s old: 2380129.8 i/s - 1.42x slower String#to Comparison: new: 2866175.7 i/s old: 2304406.4 i/s - 1.24x slower
Diffstat (limited to 'actionmailbox/test/controllers')
0 files changed, 0 insertions, 0 deletions