Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b5cbb3ced7a7793c62e1d960233c152ea66f7a00
      
https://github.com/Perl/perl5/commit/b5cbb3ced7a7793c62e1d960233c152ea66f7a00
  Author: Tony Cook <t...@develop-help.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M feature.h
    M op.c
    M regen/feature.pl

  Log Message:
  -----------
  features: populate cop_features from a hints hash the hard way

I originally optimised populating cop_features for eval by storing
the hints mask in "feature/bits" and then fetching that when
re-populating the hints for eval.

But that has turned out to be too fragile, so iterate over the
possible feature keys and populate cop_features from that.

I could perhaps have avoided this cost by ensuring "feature/bits" was
set where else it was needed, but this code already iterates to build
the hints hash, iterating again doesn't increase the scale of the work
we're doing.


  Commit: 9537c8826b775e3dd31a79960633f47c356480c6
      
https://github.com/Perl/perl5/commit/9537c8826b775e3dd31a79960633f47c356480c6
  Author: Tony Cook <t...@develop-help.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M cop.h
    M ext/XS-APItest/Makefile.PL
    M ext/XS-APItest/t/call.t
    M perl.c

  Log Message:
  -----------
  eval_sv: add a G_USEHINTS flag

Fixes #21415


Compare: https://github.com/Perl/perl5/compare/9c282e574876...9537c8826b77

Reply via email to