[pypy-dev] dictionaries in RPython

Michael Hudson mwh at python.net
Mon Nov 29 19:15:02 CET 2004


What is the current attitude to dictionaries in RPython?  At one point
I thought the attitude was "constant dictionaries, constantly known
string-only keys" but in particular pypy.interpreter.argument isn't
even vaguely close to this measure.  This is what crashed
translate_pypy after about 110 minutes of CPU time :) -- there's an
assert that the item in aDict[some_item] is constant.

I think to cope effectively with argument.py the SomeDict annotation
needs quite a lot of work.

Cheers,
mwh

-- 
  <dash> i am trying to get Asterisk to work
  <dash> it is stabbing me in the face
  <dreid> yes ... i seem to recall that feature in the documentation
                                                -- from Twisted.Quotes




More information about the Pypy-dev mailing list