[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] 6b2808: regcharclass.h: #defines for non-chars by UTF8 length
From:       Karl Williamson via perl5-changes <perl5-changes () perl ! org>
Date:       2021-07-30 15:56:33
Message-ID: Perl/perl5/push/refs/heads/blead/e4b3c4-6b2808 () github ! com
[Download RAW message or body]

  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6b28089cc4992fbc129d40723e0ce46f86abf4da
      https://github.com/Perl/perl5/commit/6b28089cc4992fbc129d40723e0ce46f86abf4da
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M regcharclass.h
    M regen/regcharclass.pl

  Log Message:
  -----------
  regcharclass.h: #defines for non-chars by UTF8 length

This creates macros for the non-character code points so that, given the
length of the UTF-8 sequence, only those ones that have that length
match.  This makes for more efficient processing, to be used in a future
commit.

The place where the length changes depends on the platform type, and
these macros will keep the code from having to worry about that.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic