From 8180381f8bcb4ddaacadbe6d386fba3c13fe2a99 Mon Sep 17 00:00:00 2001 From: normal Date: Mon, 20 Jul 2015 06:05:08 +0000 Subject: 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 --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2d0a9dac33..c156d8fc0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jul 20 15:04:30 2015 Eric Wong + + * parse.y (parser_initialize): avoid redundant zero-ing + Mon Jul 20 12:12:05 2015 Eric Wong * parse.y (struct parser_params): pack: 88 => 256 bytes on 64-bit -- cgit v1.2.3