[pypy-dev] SmallTuples

Alex Gaynor alex.gaynor at gmail.com
Thu May 26 02:27:08 CEST 2011


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.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110525/1bd7be72/attachment.html>


More information about the pypy-dev mailing list