Cpython Performance Python Python Internals Timeit Why Is It Slower To Iterate Over A Small String Than A Small List? January 26, 2024 Post a Comment I was playing around with timeit and noticed that doing a simple list comprehension over a small st… Read more Why Is It Slower To Iterate Over A Small String Than A Small List?