[Python-Dev] Array Enhancements (original) (raw)

Guido van Rossum guido@python.org
Fri, 05 Apr 2002 16:47:52 -0500


A bit type for numarray has been discussed at least briefly. The implementation for a 1 bit per element array is tricky and hasn't been to high on anyone's implementation list. If you were to propose this and offer to implement it, the Space Telescope guys might accept it. It definitely needs discussion though.

An alternative might be a separate bit-array implementation: it seems that the bit-array won't share much code with the regular array (of any flavor), so why not make it a separate type?

In addition, Scott should definitely consider whether Numarray is a better target for his requirements than the core array module. It may very well replace the current array module in the future, so your changes might have a brighter future that way.

--Guido van Rossum (home page: http://www.python.org/~guido/)