aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 06:05:08 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 06:05:08 +0000
commit8180381f8bcb4ddaacadbe6d386fba3c13fe2a99 (patch)
treed12e93d26985d01ba5b8d4a4d0aced083ad62378 /hash.c
parent5de3fc7b3e68d94a57a3b39a4971563dd3854f18 (diff)
downloadruby-8180381f8bcb4ddaacadbe6d386fba3c13fe2a99.tar.gz
parse.y (parser_initialize): avoid redundant zero-ing
TypedData_Make_Struct already initializes fields to zero by default, so there's no need to waste code re-zeroing them. Size reduction on 32-bit x86: text data bss dec hex filename 187231 2372 80 189683 2e4f3 parse.o.before 186939 2372 80 189391 2e3cf parse.o git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions