Now that perl 5.8 has arrived we can write an Inline C function: void do_something(AV * avref) { /* do something */}
and access it from perl as: do_something([EMAIL PROTECTED]); With perl 5.6 I had to have the inline C function as: void do_something(SV * x, ...) { /* do something */} and access it from perl as: do_something(@array); For my arrays, which are quite lengthy, I can find no significant speed improvement in doing it the new (5.8) way. The only reason for making the change would be to reduce memory consumption. Is memory consumption likely to be different for the 2 different approaches ? If I do it the old (5.6) way does the array get copied onto the stack, thereby doubling the memory requirement ? I assume so, but I don't really know .... hence the question. Cheers, Rob