Apr 11, 2021
I tried to profile the speed of itertools vs for loop using python's `timeit` module.
https://gist.github.com/ChaiBapchya/252f3ba9340006659b830bac06c961ef#file-itertools_vs_for-py
The results were disappointing.
```
$ python3 itertools_vs_for.py
------------For loop timeit-------------
65.127538488
------------itertool timeit-------------
99.43747415499999
```
Note - timeit function runs it for default 1000000 times.