diff options
author | Eric Wong <e@80x24.org> | 2015-03-31 19:18:49 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-04-07 07:56:01 +0000 |
commit | 544167c5c3aec5993928634c084ae9dd8650be38 (patch) | |
tree | 48e86d49683bb4ccb3449c3d4279439e090b65a2 /test | |
parent | 7d10e85c045a80df260dee1a6717483c5037ef56 (diff) | |
download | unicorn-544167c5c3aec5993928634c084ae9dd8650be38.tar.gz |
Literal regexps cost over 450 bytes of memory per-site and unnecessary use of them costs memory in places where raw execution speed does not matter. Nowadays, we can rely on String#end_with? (introduced in 1.8.7) for improved readability, too.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions