gambas-source-code/benchmark/string2.py
Benoît Minisini c3f3e60069 Port Python benchmarks to Python 3.
[BENCHMARKS]
* NEW: Port Python benchmarks to Python 3.
2022-09-27 22:16:48 +02:00

11 lines
142 B
Python
Executable file

#!/usr/bin/python
str = ''
i = 0
for i in range(0, 1000000):
for j in range(65, 91):
c = chr(j)
str += '.(' + c + ')'
print(len(str))