[pypy-dev] SmallTuples
William ML Leslie
william.leslie.ttg at gmail.com
Thu May 26 06:23:39 CEST 2011
On 26 May 2011 14:15, Alex Gaynor <alex.gaynor at gmail.com> wrote:
> Well, IMO the issue is you can end up with a ton of guard_class that are
> more precise than you need, plus you have to manually specialize for each
> length, whereas with the other approach you can just automatically apply it
> to all tuples.
With the class approach, you can store the length on the class, saving
some space for each object.
--
William Leslie
More information about the pypy-dev
mailing list