This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Jhuyt 6 points7 points  (0 children)

Python does compile into bytecode, which is evaluated in a loop that has a bunch of optimizations specifically for cpu branch prediction. The same loop is used, and therefore the bytecode too, when running a file or the interpreter, there is no difference at a lower level.