Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Defining PERL_NO_GET_CONTEXT doesn't stop it from running, but it doesn't improve performance one iota
But you've defined PERL_NO_GET_CONTEXT too late for it to have any effect. It needs to be done prior to the inclusion of the 3 perl headers (EXTERN.h, perl.h and XSUB.h). Hence, it needs to be done in the Inline::C Config section as (The specified string, followed by a newline, will then be inserted in the generated XS file above the inclusion of those 3 headers.) UPDATE: I think you would be better off looking at ways to try and move some or all of your loop into C, rather than trying to optimise the calls from Perl to C I totally agree with that. I think that's where the most significant savings will be found. Cheers, Rob In reply to Re^9: Inline::C on Windows: how to improve performance of compiled code?
by syphilis
|
|