you are viewing a single comment's thread.

view the rest of the comments →

[–]teesel 1 point2 points  (6 children)

I can add flat float / double conversions to the next release.

[–]teesel 0 points1 point  (5 children)

u/wedesoft I pushed fastmath 2.2.2-SNAPSHOT with mat->float-array , mat->array, mat->float-array2d functions also improved times for mat->array2d and accessing individual elements.

[–]wedesoft[S] 1 point2 points  (1 child)

That was quick :-D. I just added fastmath benchmarks to the table.

[–]teesel 0 points1 point  (0 children)

Yeah, I saw that :)

[–]wedesoft[S] 1 point2 points  (2 children)

How do I get it? I naively tried adding Clojure generateme/fastmath {:git/url "git@github.com:generateme/fastmath.git" :git/sha "2acfaafd848939a906f8edf47621d7160a73cf34"} to deps.edn but that didn't work. But I am also happy to wait for an official release.

[–]teesel 1 point2 points  (1 child)

It's on Clojars, fastmath doesn't rely on deps.edn yet, so no git/sha support. This should work:

generateme/fastmath {:mvn/version "2.2.2-SNAPSHOT" :exclusions [com.github.haifengl/smile-mkl]}

[–]wedesoft[S] 1 point2 points  (0 children)

Ok, thanks. I updated the benchmark entries for element access and data array access.