This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp.c: Don't use function call for easy copy
authorKarl Williamson <khw@cpan.org>
Wed, 30 Jan 2019 17:52:41 +0000 (10:52 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 5 Feb 2019 04:00:50 +0000 (21:00 -0700)
commit93327b758a54c8e1ff7ee137a513caff4d077a7d
tree887f6a4a0bd9b8209d21f400425709c5e769972a
parent526f8cbff8ce0a6402d8eb64ac3970e48c8716c3
pp.c: Don't use function call for easy copy

This code is adding the UTF-8 for a Greek character to a string.  It
previously used Copy, but this character is representable as two bytes
in both ASCII and EBCDIC UTF-8, the only character sets that Perl will
ever supports, so we can use the specialized code that is used most
everywhere else for two byte UTF-8 characters, avoiding the function
overhead, and having to treat this character as particularly special.
pp.c
regen/unicode_constants.pl
unicode_constants.h