Hi Emmanuel,
On 10/10/2016 10:25 AM, Emmanuel Bourg wrote:
> Do you know if using System.arraycopy is always faster than the
> current method, or is there a threshold where it becomes slower?
I checked different sizes of the sub-matrices and attached the code for
the evaluation to the bug report
Le 10/10/2016 à 09:33, Christoph Dibak a écrit :
> I used the Apache Commons Math library in a project where I had to
> create a lot of sub-matrices of Array2DRowRealMatrix. Analyzing the
> runtime, I found that getSubMatrix could be implemented much more
> efficient using System.arraycopy. You
Hi all,
I used the Apache Commons Math library in a project where I had to
create a lot of sub-matrices of Array2DRowRealMatrix. Analyzing the
runtime, I found that getSubMatrix could be implemented much more
efficient using System.arraycopy. You can find the patch that speeds-up
the runtime fo