Shrink a switch() statment by driving the size calculations from the
authorNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2005 22:15:43 +0000 (22:15 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2005 22:15:43 +0000 (22:15 +0000)
commit80a13697042a4d823de61ba24b77aa9d893765d6
tree4bba6d03fe49b465c41642e0be1d1ce8ec25abf1
parent78d46eaae9d8413e104f494881b97489e46e1fd4
Shrink a switch() statment by driving the size calculations from the
size table. This requires #ifdef()s in the size table initialiser.
Astoundingly this shaves over 6K of the object size with -Os on OS X.
I was expecting about 1K (due to shrinking a branch table). Mind you,
I'm not going to argue with what I got. :-)

p4raw-id: //depot/perl@23854
genpacksizetables.pl
pp_pack.c