ensozos / Matrix-Profile

A Java library for Matrix Profile
https://ensozos.github.io/Matrix-Profile/
MIT License
19 stars 7 forks source link

Concurrency experiment 11 #13

Closed barrybecker4 closed 5 years ago

barrybecker4 commented 5 years ago

@ensozos Please have a look at this change and see if it seems reasonable. When creating a MatrixProfile, you can specify isConcurrent. If false, then it runs as before, if true, then it launches as many threads as you have cores. On my 4 core laptop it runs most cases at least 2x faster.

ensozos commented 5 years ago

Nice! We now have to change the example on README file. I will also fix #4 issue and update matrix profile library to 0.0.4 version.