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 can find the patch that speeds-up > the runtime for creating a sub-matrix from even a relatively small 50x50 > matrix by 16 times here: > > https://issues.apache.org/jira/browse/MATH-1389 > > The patch passes the existing unittests.
Hi Christoph, Thank you very much for the contribution. Do you know if using System.arraycopy is always faster than the current method, or is there a threshold where it becomes slower? Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
