
We at STScI have been working on a new implementation of Numeric. We are far enough along to release an incomplete version for evaluation by the Numeric (the current version) developers in about 2 weeks. The existing PEP (209) doesn't address all the details of the implementation and there are some differences from the PEP, but it does give a general idea of what our goals are. We have been more concerned at this point in implementation than keeping the PEP up to date. The PEP will be revised when we release a preliminary version. The preliminary version will be 0) Called something else. Probably numarray. 1) Not completely backwards compatible with the existing Numeric. (I don't have time to detail the differences, but they will be listed when we make it availble). 2) Incomplete. It will be missing functionality, especially with regard to structural operations (choose, where, nonzero, put, take, compress...). It will have most types (excepting complex) and most standard Ufuncs. We do not expect this version will be usuable for most projects because of this. We are looking for feedback on the interface and design approach rather than advertising it as a usuable version. We also are interested in collaborators in implementing the rest of the functionality. It probably will be moved to sourceforge soon after. 3) Slower for smaller arrays. We expect that performance for large arrays (>100,000 elements) should be fairly respectable, but since most of the original implementation is in Python, the overhead for smaller arrays is substantially increased over the existing Numeric. While we did benchmarking for determining what design approaches were efficient enough, we have eschewed benchmarks until we have completed all the important functionality (soon). At that point we will begin to work on optimization to improve the performance. I'll stop here, but you should be hearing more about it in the near future. Perry Greenfield Space Telescope Science Institute Science Software Group
participants (1)
-
Perry Greenfield