diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-20 06:05:08 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-20 06:05:08 +0000 |
commit | 8180381f8bcb4ddaacadbe6d386fba3c13fe2a99 (patch) | |
tree | d12e93d26985d01ba5b8d4a4d0aced083ad62378 /hash.c | |
parent | 5de3fc7b3e68d94a57a3b39a4971563dd3854f18 (diff) | |
download | ruby-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