This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate POSIX::int_macro_int, and all the complex AUTOLOAD fandango
authorNicholas Clark <nick@ccl4.org>
Wed, 21 May 2008 09:18:00 +0000 (09:18 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 21 May 2008 09:18:00 +0000 (09:18 +0000)
commite99d581a4aaa3c92d0b0dda6799157fe7a569f31
tree9d4280f426101a8027cbee9439636d0798e557f2
parent99978bb4f628eeae8af4cb3f5bf7d42e615e2d36
Eliminate POSIX::int_macro_int, and all the complex AUTOLOAD fandango
that creates closures round it. Instead, wrap WEXITSTATUS, WIFEXITED,
WIFSIGNALED, WIFSTOPPED, WSTOPSIG and WTERMSIG directly with XS.
The shared library is slightly larger, but dynamic memory usage savings
beat this, even within one thread of one process. Simpler code too.

p4raw-id: //depot/perl@33896
ext/B/t/concise-xs.t
ext/POSIX/POSIX.pm
ext/POSIX/POSIX.xs
pod/perltodo.pod