admin based on bootstrap, thanks Paolo

This commit is contained in:
mdipierro
2012-12-24 13:49:06 -06:00
parent 9981ae4d5f
commit ebda5cb2bc
112 changed files with 6839 additions and 1371 deletions
+22
View File
@@ -0,0 +1,22 @@
import os
import time
import re
N = 100000
r = re.compile('^(\S+)\s*\:\s*(.*?)\s*$')
a = "hello : world\r\n"
t0 = time.time()
for k in xrange(N):
items = a.split(':',1)
x,y = items[0].strip(),items[1].strip()
print (time.time()-t0)/N
from gluon.utils import fast_urandom16
t0 = time.time()
for k in xrange(N):
x,y = a.split(':',1)
x,y = x.strip(), y.strip()
print (time.time()-t0)/N
print x,y