Using XS for performance is silly, because the XS API is silly. One should not copy values to/from perl arrays for c stack arguments, perl should use the C stack as perl4 did for its argument passing. Larry just did not know the libffi or ffcall libraries then.
The pp_ API with the same perl stack API is also pretty unoptimizable, but this can be rewritten.
In reply to Re: Perl 5 Optimizing Compiler
by rurban
in thread Perl 5 Optimizing Compiler
by Will_the_Chill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |