A library that personally helps me understand the performance of common python code (and in turn, it might help you understand it too!)
- Does mapping over an iterator perform better than using generators?
- Does chunking a generator affect performance?
- Does composing generators affect performance?
- Make a table of the performance of each function ...
- Open this up in a notebook!
- To publish to pypi w/o an alpha version, push a commit with
Publish To PYPI
in its commit message.
l = list(range(100))
batchsize = 11
while len(l) > 0: print(l) print(l[:batchsize]) del l[:batchsize]