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 | 8754f619d51a67fc4df255c189c8ff744433dd6e (patch) | |
tree | d12e93d26985d01ba5b8d4a4d0aced083ad62378 /io.c | |
parent | 12652453b2fc6498a95a491fc0aa5fc059fe9fff (diff) | |
download | ruby-8754f619d51a67fc4df255c189c8ff744433dd6e.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 'io.c')
0 files changed, 0 insertions, 0 deletions