2011/5/25 Alex Gaynor <[email protected]>:
> I have a question about SmallTuples.  Why do we have multiple classes,
> rather than doing the "hack" of mallocing a single block of memory for the
> entirety of the object, since it is immutable and we can know the needed
> space up front, CPython uses this "hack" for strs for example.

What do you mean by that? Isn't having multiple classes the RPython
equivalent of this hack?



-- 
Regards,
Benjamin
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to