The stupid question is the question not asked | |
PerlMonks |
Re^2: Inline::C on Windows: how to improve performance of compiled code?by syphilis (Archbishop) |
on Jun 18, 2018 at 00:07 UTC ( [id://1216827]=note: print w/replies, xml ) | Need Help?? |
So, have we by now established that a one-liner which does absolutely nothing in the loop, as I suggested, does not run in a time comparable to the one that uses the no-op inline function, but runs considerably faster? I don't think we have, as it was never really the issue. The issue was more about some apparent additional overhead in calling XS subs on Windows, and what to do about it. I do, however, think it is very likely that code that does nothing 10 million times will execute significantly faster than code that calls a no-op 10 million times - and that your suggestion is most likely quite correct. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|