diff options
author | Eric Wong <e@80x24.org> | 2014-11-20 03:53:47 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-11-20 20:35:27 +0000 |
commit | d992c14cf0b45aaba89ff5bab86122caf07c48ab (patch) | |
tree | c0745e68b3cef99056d7b52b8dc6bbec6e0cd477 /INSTALL | |
parent | 3c5e36cd57fa32c85afe26d47a5a7d2314a7360a (diff) | |
download | yahns-d992c14cf0b45aaba89ff5bab86122caf07c48ab.tar.gz |
Ruby 2.1 optimizes String#freeze by deduplicating string literal calls to freeze. Ruby 2.2 _may_ also optimize away allocations to Hash#delete in the future. In any case, this is uncommon code and not worth trading permanent space to reduce temporal garbage. While this favors Ruby 2.1 and later, it remains completely compatible with Ruby 1.9.3 and 2.0.0.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions