[pypy-dev] [Fwd: Re: Fan Programing Language]

Charles Oliver Nutter charles.nutter at sun.com
Fri Apr 25 06:05:41 CEST 2008


Niko Matsakis wrote:
>> there is an interesting thread going on on the jvm-languages mailing  
>> list; among the other things, I discovered that the JVM can handle  
>> the exception much faster if you override the fillInStack method to  
>> do nothing instead of building the traceback.
> 
> I didn't know about overriding the fillInStack method, that should be  
> fairly easy to do.

Trivial even.

And if you are just using exceptions as a message-passing or 
stack-unrolling mechanism, just instantiate it once per thread.

- Charlie



More information about the Pypy-dev mailing list