[pypy-dev] Re: Objects and types in the stdobjspace

Armin Rigo arigo at tunes.org
Thu Jun 12 14:30:03 MEST 2003


Hello Michael,

On Thu, Jun 12, 2003 at 12:53:36PM +0100, Michael Hudson wrote:
> But for heavens sake, please leave an explicit call at the end of each module!

Sure !

> Am I right in thinking that for each object space method we have one
> multimethod instance shared between all instances of StdObjSpace?
> That's not a very good idea, is it?

Multimethod tables are essentially static, so it doesn't matter if several
object spaces run in parallel. User-defined types don't actually cause
anything to be added to the multimethods; there is in essence just one
*implementation* for all user-defined objects, and that is W_UserObject.


A bientôt,

Armin.


More information about the pypy-dev mailing list