Size of tuples

Chris Barker chrishbarker at home.net
Wed Sep 5 20:19:01 EDT 2001


Peter van der Kamp wrote:
> Does anyone anyone know what the maximum size of
> a tuple can be? Examples in documentation only contains
> a small amount of data, but I like to know if they can contain
> e.g. >100000 integers. Furthermore I would like to know
> the consequences for performance. Does the 'x in tuple'
> statement perform much worse with the amounts of data
> I have in mind?


You've been answered, but if you are working with this many numbers, you
may be better off using NumPy:

http://sourceforge.net/projects/numpy

-Chris


-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list