[pypy-dev] math.log0 / interactive shell

Christian Tismer tismer at stackless.com
Mon Aug 15 10:18:27 CEST 2005


holger krekel wrote:

> On Mon, Aug 15, 2005 at 02:50 +0200, Christian Tismer wrote:
> 
>>When the compiled pypy shell starts, and any exception
>>occours, it takes about 10 minutes(!) until you get
>>the exception.
> 
> 
> probably because the (applevel) compiler has to 
> deal with importing traceback at applevel and then
> running the traceback printing logic (possibly 
> involving reading files which again live at applevel). 
> So maybe it's not too suprising? 

It is, still. We have the marshal module, and you might
have recognized how startup time goes from several
minutes to fractions of seconds, when it is importing
code.
Why should this not work in the exception case?
That's exactly the question: what do I miss to cache?

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/



More information about the Pypy-dev mailing list