add const to Perl_boot_core_UNIVERSAL's xsub registration struct
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 9 Oct 2012 23:00:24 +0000 (19:00 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 10 Oct 2012 01:04:55 +0000 (18:04 -0700)
commit613875e219013b5860700144832fdde49efb15f2
tree5fd82f6706a8e15a810d684425b5c05d8d65f4c7
parent86e69b18632c87a8d5d07a35439df8d22533b675
add const to Perl_boot_core_UNIVERSAL's xsub registration struct

Move struct xsub_details details to RO memory from RW memory. This increases
the amount of bytes of the image that can be shared between Perl processes
by the OS. The inverse is each perl process takes less process specific
memory. I saw no change in .text, .rdata went from 0x21121 to 0x21391
(+0x270), .data went from 0x3b18 to 0x38b8 (-0x260). 32 bit Visual C.
universal.c