| Store | Cart

[perl #125637] [PATCH 1/2] combine PERLDB_LINE and PERLDB_SAVESRC flag tests

From: Tony Cook via RT <perl...@perl.org>
Wed, 29 Jul 2015 21:20:24 -0700
On Tue Jul 21 20:43:19 2015, bulk88 wrote:
> On Tue Jul 21 20:40:32 2015, bulk88 wrote:> > Maybe it is time for B::CaretP.pm with constants? That way a> > flag/constant can be reliably removed from API, or the flags switched> > around.> > Another idea, convert the legacy/public facing PP flags to internal> flags in Perl_magic_get/Perl_magic_set.

Not worth it to save 24 bytes (8 places changing from using a 4-byte immediate to a 1 byte immediate), assuming I understand what you're trying to save.

Tony

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

Recent Messages in this Thread
bulk88 (via RT) Jul 18, 2015 10:57 am
Tim Bunce Jul 18, 2015 01:33 pm
Tony Cook via RT Jul 22, 2015 01:37 am
bulk88 via RT Jul 22, 2015 03:40 am
bulk88 via RT Jul 22, 2015 03:43 am
Tony Cook via RT Jul 30, 2015 04:20 am
bulk88 via RT Aug 03, 2015 04:06 am
Messages in this thread