Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sklam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
sklam
14y ago
If you look at the profiler screenshot at the bottom of the page, the time spent in the cuRAND kernel (cyan) is ~2x longer than in the numbapro kernel (purple). Even if the numbapro kernel is written in CUDA-C and suppose it will be a lot
2.
▲
by
sklam
14y ago
Here's my implementation of Jenks in Numba: https://gist.github.com/sklam/4979921 It uses numpy array instead of list. Doing so without Numba is a lot slower because numpy array indexing and operating on array scalars are slow.