[Python-3000] bytes vs. array.array vs. numpy.array (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 2 03:19:32 CEST 2007


Nick Coghlan wrote:

numpy would be a big dependency to bring in just to get more efficient bit-oriented operations on a byte sequence

Random thought - if long integers were to use byte sequences internally to hold their data, it might be possible to get this more or less for free in terms of code size.

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-3000 mailing list