Hi,

I've written some numpy functions for grouping, translating and
subtotalling data. At the moment they exist as pure Python code, but I
have started rewriting them in C for speed.

As this is my first attempt at a C extension for numpy, I'd appreciate
any suggestions for good numpy coding style to make this work for
strided arrays, multiple data types, etc. My first go at a C version is
very low level (following bincount()'s code in _compiled_base.c as a
guide) and works for integer and character arrays.

Are there other (possible more recent) numpy source files that I should
use as a guide to writing fast, clean, flexible code?

Cheers

Stephen



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to