Simple question about how the optimizer works

Pete Shinners shredwheat at attbi.com
Thu May 9 11:10:36 EDT 2002


jb wrote:
> print g(f(x),f(x))
> print h(f(x),f(x))

how can it be called less than 4 times?

def f(x):
     random.seed(x)
     return random.random()




More information about the Python-list mailing list