On most cases this solution will be slower than converting the regular AV to an int array on the XS function wrapper. But, for instance, if you are just passing the arrays around between C functions, and manipulating them directly from Perl only in a few cases it can be faster.
In reply to Re: Extending Perl with C: how to use an array reference?
by salva
in thread Extending Perl with C: how to use an array reference?
by jey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |