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 18:09:01 +0000 (11:09 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 5 Feb 2019 04:00:50 +0000 (21:00 -0700)
commit78ed8e3629d58d11345e4367dbe14b9603e8c84b
tree00480d7a4b03f540320feeeed728e3f70f597252
parent93327b758a54c8e1ff7ee137a513caff4d077a7d
pp.c: Don't use function call for easy copy

Like the previous commit, 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