Greg Stein
gstein at lyra.org
Fri May 26 10:49:44 EST 2000
On Fri, 26 May 2000, Greg Stein wrote: >... > Mine were quite conclusive. The latter code is 4 to 6 times faster. >... > Yes, I understand that the first import is longer than the following > imports. And that I'm not testing the cost of that first import. This is > intended: the underlying import mechanism which runs on that first import > is the same for both (e.g. the parse/load and module setup), so it can be > considered a constant factor and omitted. Oops. One more note. I was accidentally charging that first import to the exec/eval style. I moved that out, but it did not change the results at all. Cheers, -g -- Greg Stein, http://www.lyra.org/
|