Hacker News new | ask | show | jobs
by LLyaudet 1082 days ago
SPOILER ALERT Am I the only one who thought "What's the problem? - The basic loop with xrange in Python tops at 68,000,000 (loop.py), - but write_to_disk.py tops at 342,000,000, - and write_to_memory.py tops at 2,000,000,000 " ? And then thought "Ahah but it is while loops instead of iterators! Iterators are that bad for performance! XD"