1 2 3 4 5 6 7 8 9 10 11 12
import bench def test(num): l = ["x"] for i in range(num // 40): class X: __slots__ = l bench.run(test)