I have just started learning python, so it may seem a foolish question but i really want to know what could be the real possibility of not using the while true
for the python interpreter which Execute compiled code with the help of ceval.c
instead of for (;;)
here in the same code.
I know the interpreter must go in infinite loop until something is returned hence the infinite for loop was written like this
for (;;) {
#ifdef WITH_TSC
if (inst1 == 0) {
But going by the python own Principle Readability counts won't while true
would have been a better option ?
Or this will have any performance difference ?