Note that alloca() is not as portable as one might hope. I find it very useful in XS code, but avoid it (now) because it would make my modules less portable. ):
I try to replace it with creating SVs with PV buffers of the proper size and letting Perl's garbage collection free the buffers for me.
- tye (but my friends call me "Tye")In reply to (tye)Re2: double array in XS
by tye
in thread double array in XS
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |