Some of the problems you encounter could probably be remedied by better
support in Cython for some situations. I've filed two feature request
tickets for myself, but I have no idea when or if I'll get around to them.
http://trac.cython.org/cython_trac/ticket/177
http://trac.cython.org/cython_tra
On Thu, Jan 8, 2009 at 12:34 PM, Eric Firing wrote:
> John Hunter wrote:
>> On Wed, Jan 7, 2009 at 5:37 PM, Eric Firing wrote:
>>
>>> A couple small changes speed it up quite a bit:
>>>
>>> efir...@manini:~/temp/nnbf$ python test_nnbf.py
>>> loading data... this could take a while
>>> testing n
John Hunter wrote:
> On Wed, Jan 7, 2009 at 5:37 PM, Eric Firing wrote:
>
>> A couple small changes speed it up quite a bit:
>>
>> efir...@manini:~/temp/nnbf$ python test_nnbf.py
>> loading data... this could take a while
>> testing nnbf...
>>10 trials: mean=0.0150, min=0.0100
>> testing nu
On Wed, Jan 7, 2009 at 5:37 PM, Eric Firing wrote:
> A couple small changes speed it up quite a bit:
>
> efir...@manini:~/temp/nnbf$ python test_nnbf.py
> loading data... this could take a while
> testing nnbf...
>10 trials: mean=0.0150, min=0.0100
> testing numpy...
>10 trials: mean=0.
John Hunter wrote:
Partly as an excuse to learn cython, and partly because I need to eke
out some extra performance of a neighborhood search, I tried to code
up a brute force neighborhood search in cython around an N-dimensional
point p. I need to incrementally add a point, do a search, add
anot
Partly as an excuse to learn cython, and partly because I need to eke
out some extra performance of a neighborhood search, I tried to code
up a brute force neighborhood search in cython around an N-dimensional
point p. I need to incrementally add a point, do a search, add
another point, do another