262fe72e3e
[BENCHMARK] * NEW: Add a new string benchmark.
11 lines
141 B
Python
Executable file
11 lines
141 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)
|