In perl.git, the branch smoke-me/khw-memchr has been created
<http://perl5.git.perl.org/perl.git/commitdiff/9b51c51e13426ea032e9309ee7935054b1cd5979?hp=0000000000000000000000000000000000000000>
at 9b51c51e13426ea032e9309ee7935054b1cd5979 (commit)
- Log -----------------------------------------------------------------
commit 9b51c51e13426ea032e9309ee7935054b1cd5979
Author: Karl Williamson <[email protected]>
Date: Tue Mar 14 11:29:53 2017 -0600
Revert "XXX fails due to lack of version bump: Netware: Convert strcmp into
strEQ, strNE"
M NetWare/dl_netware.xs
commit 8cde507a5bf9144707c2e9f8a620dd6a4a35288d
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 13:12:23 2017 -0700
XXX fails due to lack of version bump: Netware: Convert strcmp into strEQ,
strNE
The latter two are easier to read
M NetWare/dl_netware.xs
commit 15ce17d61d4c7def17e41032d4ab8106ef1aa0cf
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 11:53:48 2017 -0700
locale.c: White space only
Align vertically
M locale.c
commit d4fa4bf68584a6389e989d6efaf202ab2d56018e
Author: Karl Williamson <[email protected]>
Date: Wed Mar 8 21:55:08 2017 -0700
Convert strncmp into strnEQ, strnNE
The new versions are much easier to comprehend.
There are several cases in vms.c where strEQ and strNE suffice, instead
of having to have a count parameter.
M vms/vms.c
M win32/win32.c
M win32/wince.c
commit 05a3f9be1b97e78d4cd41009b86242b5618519d7
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 13:13:07 2017 -0700
Convert strcmp into strEQ, strNE
The latter two are easier to read
M cygwin/cygwin.c
M ext/DynaLoader/DynaLoader_pm.PL
M ext/DynaLoader/dl_aix.xs
M ext/DynaLoader/dl_win32.xs
M ext/Hash-Util-FieldHash/FieldHash.xs
M ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm
M ext/POSIX/POSIX.xs
M ext/POSIX/lib/POSIX.pm
M ext/XS-APItest/APItest.xs
M symbian/symbian_stubs.c
M vms/vms.c
M win32/win32.c
commit d4c34c45fcbf5c72f361f9717644f820a44710a5
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 11:58:14 2017 -0700
XXX Pull request vsx.inc Use strNE, strNEs
This saves programmer bookkeeping and is easier to read
M vxs.inc
commit 4568cca049c60d2fa43f4b696a11a0917d38ef75
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 12:06:34 2017 -0700
XXX PPPort Cwd: Change strcmp into strEQ
The latter is easier to read
M dist/PathTools/Changes
M dist/PathTools/Cwd.pm
M dist/PathTools/Cwd.xs
M dist/PathTools/lib/File/Spec.pm
M dist/PathTools/lib/File/Spec/AmigaOS.pm
M dist/PathTools/lib/File/Spec/Cygwin.pm
M dist/PathTools/lib/File/Spec/Epoc.pm
M dist/PathTools/lib/File/Spec/Functions.pm
M dist/PathTools/lib/File/Spec/Mac.pm
M dist/PathTools/lib/File/Spec/OS2.pm
M dist/PathTools/lib/File/Spec/Unix.pm
M dist/PathTools/lib/File/Spec/VMS.pm
M dist/PathTools/lib/File/Spec/Win32.pm
commit 8d33e16cb9aa703d6e36590e5190044765e5d31c
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 10:54:20 2017 -0700
XXX PPPort: Data::Dumper: Change some strncmp to strSTARTS_WITHs
The latter is much clearer as to what's going on
M dist/Data-Dumper/Dumper.pm
M dist/Data-Dumper/Dumper.xs
commit 9ec40b39ae2ef81fb0be5edb661d21589ea79ffe
Author: Karl Williamson <[email protected]>
Date: Thu Mar 9 10:55:38 2017 -0700
Change some strncmp, strnEQ, strnNE to strSTARTS_WITHs
The latter is much clearer as to what's going on
M cygwin/cygwin.c
M djgpp/djgpp.c
M ext/VMS-Stdio/Stdio.pm
M ext/VMS-Stdio/Stdio.xs
M ext/XS-APItest/APItest.xs
M op.c
M pp.c
M pp_ctl.c
M pp_pack.c
M regcomp.c
M toke.c
M vms/vms.c
M win32/win32.c
commit 7aabdee43820d22373a9fac9ac5a7cfdc2603d57
Author: Karl Williamson <[email protected]>
Date: Thu Mar 23 19:00:12 2017 -0600
Use strEQs, strNEs in core files.
This takes advantage of the two macros created in the previous commit,
to produce more legible code.
M ext/XS-APItest/APItest.xs
M gv.c
M hv.c
M mro_core.c
M op.c
M regcomp.c
M scope.c
M sv.c
M toke.c
M vms/vms.c
commit ed7132349ba397801df078143d258b9d78b721fb
Author: Karl Williamson <[email protected]>
Date: Thu Mar 23 18:56:19 2017 -0600
Add strEQs, strNEs, for literal final param
If we are comparing two strings, we can skip the actual compare if the
lengths aren't the same (but calculating the lengths ahead of time
negates any savings). However, it turns out that there are a number of
cases in core where the length of one string is known, and the other
string is a literal, hence its length can be calculated by the compiler.
This macro allows those cases to be easily handled, and with shorter
code.
This eliminates programmers from having to count characters.
M handy.h
commit 880b6b8af9208dcd32a94f5d679b373b97178ffe
Author: Karl Williamson <[email protected]>
Date: Wed Mar 8 20:31:25 2017 -0700
XXX new name is tentabive Rename strEQs, strNEs
These names are confusing. The tentative new name is strSTARTS_WITHs. The
two macros are mapped into just that one, complementing the result for
the few cases where strNEs was used.
M amigaos4/amigaio.c
M doio.c
M ext/B/B.pm
M ext/B/B.xs
M ext/XS-APItest/APItest.pm
M ext/XS-APItest/APItest.xs
M gv.c
M handy.h
M hv.c
M locale.c
M os2/os2.c
M perl.c
M toke.c
commit d40b8a9f2acc756d88f6add37f3042c0a837d1f0
Author: Karl Williamson <[email protected]>
Date: Fri Mar 3 11:39:57 2017 -0700
t/harness parallel APItest, etc
M t/harness
-----------------------------------------------------------------------
--
Perl5 Master Repository