from_iter-6-bytes_unbound.py 147 B

12345678
  1. import bench
  2. def test(num):
  3. for i in iter(range(num//10000)):
  4. l = [0] * 1000
  5. l2 = bytes(map(lambda x: x, l))
  6. bench.run(test)