Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9f601cf3bbfa6be3e2ab3468e77a7b79c80ff5cf
      
https://github.com/Perl/perl5/commit/9f601cf3bbfa6be3e2ab3468e77a7b79c80ff5cf
  Author: Tony Cook <[email protected]>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M cop.h
    M feature.h
    M gv.c
    M lib/feature.pm
    M mg.c
    M op.c
    M pp_ctl.c
    M regen/feature.pl
    M scope.c

  Log Message:
  -----------
  Faster feature checks

Perform only a bit check instead of a much more expensive hash
lookup to test features.

For now I've just added a U32 to the cop structure to store the bits,
if we need more we could either add more bits directly, or make it a
pointer.

We don't have the immediate need for a pointer that warning do since
we don't dynamically add new features during compilation/runtime.

The changes to %^H are retained so that caller() can be used from perl
code to check the features enabled at a given caller's scope.


  Commit: 7599b8a978181c395f6013f4e8f736b5f7d07669
      
https://github.com/Perl/perl5/commit/7599b8a978181c395f6013f4e8f736b5f7d07669
  Author: Tony Cook <[email protected]>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M embed.fnc
    M feature.h
    M proto.h
    M regen/feature.pl
    M toke.c

  Log Message:
  -----------
  remove now unneeded FEATURE_IS_ENABLED()


  Commit: df31f96d7d6aebfd4b23e8fceb1ac1a2250521cf
      
https://github.com/Perl/perl5/commit/df31f96d7d6aebfd4b23e8fceb1ac1a2250521cf
  Author: Tony Cook <[email protected]>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M pod/perlvar.pod

  Log Message:
  -----------
  add ${^FEATURE_BITS} to perlvar.pod


Compare: https://github.com/Perl/perl5/compare/698f6cc7d55b...df31f96d7d6a

Reply via email to