Thanks for the quick answer! ↓ On Sat, Mar 4, 2023 at 2:39 PM Gilles Sadowski <gillese...@gmail.com> wrote:
> Hello. > > Le sam. 4 mars 2023 à 12:29, Cyril de Catheu > <cy...@startree.ai.invalid> a écrit : > > > > Hello, > > > > I just opened a ticket > > Thanks for the report! > > > describing an opportunity to optimize the getEntry > > method of RealMatrix implementations. > > For our specific workload in BOBYQA > > Advertisement: Help is very welcome for maintaining the > implementation of that algorithm.[1] > Ok I had a look at the tickets, looks interesting. I'd be happy to help maintain the implementation. I've recently worked on java code generated from fortran. It seems to be the case in this implementation - special mention for the infinite loop + switch acting as a GOTO x) . I'll start by refactoring. > > this seems to be a ~10% speed > > improvement. > > I think it could also give a (variable) speed up to every consumer of > > RealMatrix.getEntry. > > > > https://issues.apache.org/jira/browse/MATH-1654 > > Thanks for the analysis. > > Side note: You are most welcome to contribute to having JMH > benchmarks integrated within the component's repository.[2] > Noted. Maybe later. > > If changing RealMatrix implems is not an option, there are other specific > > solutions to optimize the BOBYQA optimizer. > > > > Let me know what you think. > > I've also added comments on JIRA. > Somehow I can't see any comments on JIRA - https://issues.apache.org/jira/browse/MATH-1654 Am I missing something? Regards. Cyril > Best regards, > Gilles > > [1] Cf. related issues in JIRA (and in the ML archive). > [2] By coincidence, another discussion has just been restarted about > it (for another functionality): > https://issues.apache.org/jira/browse/MATH-1585 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >