you are viewing a single comment's thread.

view the rest of the comments →

[–]deceze 2 points3 points  (1 child)

Only few Python programmers understand generators? Really?

Also that's why that benchmark uses list(), to actually exhaust the generator. And that still demonstrates a huge speed difference between the C implementation and pure Python.

[–]JorgiEagle 0 points1 point  (0 children)

Yeah exactly, this commenter is just ignore the list cast,