diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-13 13:49:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-13 13:49:44 +0000 |
commit | b0f2785d6c2bd99c39e634304164e343c7c5b4ae (patch) | |
tree | 77295cda7419afe8f3138e8484c3d9685be53dfd /test/optparse | |
parent | d22a09e189d772fe9c640aaf7b2c3fbbc5bcf039 (diff) | |
download | ruby-b0f2785d6c2bd99c39e634304164e343c7c5b4ae.tar.gz |
timeout.rb: freeze a string message
* lib/timeout.rb (Timeout#timeout): freeze a string message to
reduce string allocations. [Fix GH-996]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/optparse')
0 files changed, 0 insertions, 0 deletions