summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 22:37:29 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 22:37:29 +0000
commitf47b38b016c13418dbb032517ec586cb8ba499ad (patch)
tree1e8ee970f317af24bd0aa3d7c70cb2f1a37a3e67 /spec/ruby
parentd46cd60f3cfb88f1591d6ce0f23e750d3833434f (diff)
io.c: favor comparisons against zero rather than -1
On my 32-bit x86 userspace, I get the following .text savings: text data bss dec hex filename 152971 56 252 153279 256bf io.o.before 152863 56 252 153171 25653 io.o.after git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions