develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #122262] commit "replace many SvTYPE assertions with lookup tables" adds unused on non-DEBUGGING tables

Thread Previous
From:
Tony Cook via RT
Date:
October 21, 2014 23:41
Subject:
[perl #122262] commit "replace many SvTYPE assertions with lookup tables" adds unused on non-DEBUGGING tables
Message ID:
rt-4.0.18-13573-1413934896-1270.122262-15-0@perl.org
On Wed Jul 09 21:35:32 2014, bulk88 wrote:
> http://perl5.git.perl.org/perl.git/commitdiff/f1fb87419225265377ea1d91eac0dc99547137a6
> added a bunch of tables that are exported/extern in 5.15.0 . These
> tables are only used on DEBUGGING builds. The declarations need to be
> ifdefed away on non-DEBUGGING and a skip added to makedef.pl. Removing
> the tables will save 0x10*6 bytes of C tables/arrays from the
> image+exporting/symbol name string overhead.

Unfortunately parts of re (ext/re/) are built with DEBUGGING defined, so these arrays are uses there.
Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=122262

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About