Hi Robert,

> >             # Notice that even if do this instead :
> >             # retval[i][table[i, j]] += 1
> >             # ... it still generates some pythonic stuff like
> >             # PyNumberAddInplace
> 
> This is because you're writing retval[i][table[i, j]] += 1 rather  than
> retval[i, table[i, j]] += 1. (I think this was already mentioned.)
> 

Ah, now I see. That makes all the difference. Now the C Code only has Pyrex
#defines in it. Excellent!

Thanks,
Brett


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to