distinction between re.replace and re.replacef; speed improvements for re module

This commit is contained in:
Araq 2011-03-06 21:16:05 +01:00
commit 3005955d20
23 changed files with 206 additions and 171 deletions

View file

@ -50,7 +50,7 @@ when isMainModule:
for j in 0 .. L-1:
data[j] = (math.random(90) - 10)
var copy = data
sort(data, cmp[int, int], order)
sort(data, cmp[int], order)
if not sorted(data, order):
#for x in items(data): echo x
break