Re:Python 2 will be replaced with Python 3 in the next RHEL ...
by lizmat on Wednesday April 11, 2018 @06:25AM
(#16809662)
> If you use ugly C-style loops instead of nicer native for loops, your loop will run 2x faster.
This is what I currently consider a workaround. At the moment if you have a constant endpoint and it fits in a native int, such as `for ^10`, it is already highly optimized and actually runs faster than the equivalent in Perl 5. That is not done yet where the endpoint is a native int variable. :-(
This is what I currently consider a workaround. At the moment if you have a constant endpoint and it fits in a native int, such as `for ^10`, it is already highly optimized and actually runs faster than the equivalent in Perl 5. That is not done yet where the endpoint is a native int variable. :-(