Skip to content

Instantly share code, notes, and snippets.

@DineshReddyK
Created May 30, 2014 15:04
# Slow way:
Str = ""
for X in range(10000):
Str+=`X`
# Fast way
List = [ ]
for X in range(10000):
List.append(`X`)
Str = string.join(List,"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment