Re:Why Python Is Slow: Looking Under the Hood
by shanemhansen on Tuesday November 18, 2014 @05:07PM
(#8626684)
You are technically correct. A Sufficiently Smart Compiler(TM) could theoretically optimize python code.
However certain language features can be inherently difficult to optimize. Most of it's over my head, but headius has written some great articles as part of his experience of implementing ruby on the jvm. http://blog.headius.com/2012/09/avoiding-hash-lookups-in-rub...
However certain language features can be inherently difficult to optimize. Most of it's over my head, but headius has written some great articles as part of his experience of implementing ruby on the jvm. http://blog.headius.com/2012/09/avoiding-hash-lookups-in-rub...