Fork me on GitHub
#core-matrix
<
2015-12-26
>
kephale21:12:30

@mikera: is there any way to get parallelization in core.matrix?

mikera21:12:45

Yes but approach depends on use case

kephale21:12:12

use case: you convinced me to finally try out my swarm simulations running on core.matrix

mikera21:12:13

Parallelised implementations are certainly possible

kephale21:12:21

none exist yet though?

kephale21:12:08

you might be pleased that the vectorz-clj implementation beats clatrix (and this is without an underlying KD-tree implementation)

mikera21:12:52

Not to my knowledge. My experience is that you are better off running independent threads rather than a more complex implementation that tries to use multiple threads

kephale21:12:53

interestingly the vectorz-clj implementation without KD-trees is about as fast as the non-matrix-based version with KD-trees

mikera21:12:33

Clatrix is not great for perfornance

kephale21:12:40

so it seems

mikera21:12:08

It could be, but needs a lot more work on the different operations

kephale21:12:15

alright, i think i’ll try for a hybrid core.matrix+KDtree version next then

kephale21:12:53

thank you!