In perl.git, the branch smoke-me/khw-smoke has been created

<http://perl5.git.perl.org/perl.git/commitdiff/af025d01187b93819fbc9088966712a95aa67058?hp=0000000000000000000000000000000000000000>

        at  af025d01187b93819fbc9088966712a95aa67058 (commit)

- Log -----------------------------------------------------------------
commit af025d01187b93819fbc9088966712a95aa67058
Author: Karl Williamson <[email protected]>
Date:   Thu Aug 18 21:41:08 2016 -0600

    toke.c: White-space only
    
    Indent after previous commit added new blocks

M       toke.c

commit f6bcfe527b94eb249060b03471c974bb2948f35c
Author: Karl Williamson <[email protected]>
Date:   Thu Aug 18 18:54:13 2016 -0600

    toke.c: Potentially avoid work when converting to UTF-8
    
    Some code points < 256 are the same whether represented in UTF-8, or
    not.  Others change to require 2 bytes to represent in UTF-8.  When
    parsing a string, using UTF-8 is avoided unless necessary, because of
    the extra overhead required for processing UTF-8.  This means that when,
    during the parse, we discover we need to convert to UTF-8, we have to,
    in effect, reparse whatever we have so far to make sure those code
    points that differ under UTF-8 get their proper representation.  This
    reparsing would not be necessary if we know that the string doesn't have
    such code points.
    
    It turns out that keeping track of having seen UTF-8 variant code points
    is cheap, requiring no extra branch instructions.  And the payoff is
    potentially large, avoiding having to reparse the string.  This commit
    changes to keep track.

M       toke.c

commit bcf8aff3131c11f508a4e8f5406841f9c3bfc56c
Author: Karl Williamson <[email protected]>
Date:   Sun Dec 25 21:53:04 2016 -0700

    toke.c: Reorder if/else branches
    
    It is easier to read code if the trivial branch is follows immediately
    after the 'if'.

M       toke.c
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to