Python: Why is IDLE so slow?
- by Adam Matan
Hi,
IDLE is my favorite Python editor. It offers very nice and intuitive Python shell which is extremely useful for unit-testing and debugging, and a neat debugger.
However, code executed under IDLE is insanely slow. By insanely I mean 3 orders of magnitude slow:
bash
time echo "for i in range(10000): print 'x'," | python
Takes 0.052s,
IDLE
…