On Sun, 20 Feb 2005, Carl Friedrich Bolz wrote:
easily, and  performance won't be bad from the result: the LLVM inliner
can inline these methods where it makes sense.  Am I missing something?

Well, it was extremely easy to implement which justifies the approach a bit ;-). Since it works quite well I think I'll stick with it a bit and change it if problems come up (for example if there are lists of so many different types that the code bloat gets unbearable).

ok :)

Invoke is a bit more tricky unfortunately.

Ok, maybe it is enough to unwind from within those functions. I can't think of any string, list, dict... method that actually catches an exception. So it seems best to set some global variables that indicate the error and then call a function written in llvm that unwinds. Does this sound ok?

Yup, makes sense,

-Chris

--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
_______________________________________________
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to