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
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to