Paolo Giarrusso wrote: > There are at least two ways, once you have a singleton (maybe static) > None object around: > - box all integers and use only pointers - the slow one; > - tagged integers/pointers that you already use elsewhere. So integers > of up to 31/63 bits get represented directly, while the other ones are > through pointers.
I think you are confusing level: here we are talking about RPython, i.e. the language which our Python interpreter is implemented in. Hence, RPython ints are really like C ints, and you don't want to manipulate C ints as tagged pointer, do you? ciao, Anto _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev