Interning own classes like strings for speed and size?
Terry Reedy
tjreedy at udel.edu
Mon Dec 27 14:47:46 EST 2010
On 12/27/2010 6:05 AM, Ulrich Eckhardt wrote:
> Hi!
>
> I'm trying to solve a computational problem and of course speed and size is
> important there. Apart from picking the right algorithm, I came across an
> idea that could help speed up things and keep memory requirements down. What
> I have is regions described by min and max coordinates.
What sort of numbers are the coordinates? If integers in a finite range,
your problem is a lot simpler than if float of indefinite precision.
--
Terry Jan Reedy
More information about the Python-list
mailing list