durusmail: quixote-users: nevow performance...
nevow performance...
Re: nevow performance...
2004-01-27
2004-01-27
nevow performance...
Christoph Devenoges
2004-01-27
hi,

why does

def nevowStyle(x, y):
    return table(border=1, cellpadding=10, cellspacing=10)[
           [tr[
               [td['%s - %s' % (j, i)] for j in range(y)]] for i in range(x)]]

take 3 times longer to execute then

def ptlStyle [html] (x, y):
    ''
    for i in range(x):
        ''
        for j in range(y):
            '' % (i, j)
        ''
    '
%s - %s
' ? is somebody going to publish an Arch archive for nevow? (me?) kind regards, chris
reply