Large Data Sets: Use base variables or classes? And some binding questions
Terry Reedy
tjreedy at udel.edu
Fri Sep 26 17:06:24 EDT 2008
Patrick Sullivan wrote:
> Hello.
>
> I will be using some large data sets ("points" from 2 to 12 variables)
> and would like to use one class for each point rather than a list or
> dictionary. I imagine this is terribly inefficient, but how much?
I strongly suspect that you should use one class and a class instance
for each 'point'. You can make instances 'fixed' after initialization
by customizing appropriate methods, but I would not bother for private code.
More information about the Python-list
mailing list