This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
More branch prediction hints for sv_setsv_flags
authorSteffen Mueller <smueller@cpan.org>
Sun, 30 Nov 2014 16:26:38 +0000 (17:26 +0100)
committerSteffen Mueller <smueller@cpan.org>
Mon, 1 Dec 2014 07:36:36 +0000 (08:36 +0100)
commit7667e7f116d93f938701c92dcd64886d64138761
tree51ec9b6b96dbcbfab5c9ed96f11e23f5cb44d252
parenta10d07f36dfb98f1bcda5f925e584162916f2c66
More branch prediction hints for sv_setsv_flags

Dave's cachegrind benchmark says "small win":

          REF   THIS
       ------ ------
    Ir 105.35 105.91
    Dr 104.45 105.42
    Dw 105.42 105.17
  COND 104.33 104.58
   IND 107.04 106.76

COND_m 98.55  110.11
 IND_m 110.09 111.08
sv.c
sv.h