3 ms·
This CS guy looked at some scientist's code and sped it up 14,000x: http://james.hiebert.name/blog/work/2015/09/14/CS-FTW.html http://james.hiebert.name/blog/w
by optimalsolver 5y ago
This CS guy looked at some scientist's code and sped it up 14,000x:
http://james.hiebert.name/blog/work/2015/09/14/CS-FTW.html http://james.hiebert.name/blog/work/2015/09/14/CS-FTW.html
- alex_smart 5y ago0.1 seconds is still too many. There is probably another 1000x speed up possible there. We just have to do a merge on two rather small arrays. The most expensive operation here would actually be writing out to the output array.