Re: Performance improvement

2025-05-22 Thread Jin Liu
Igor Mironchik 于2025年5月23日周五 00:21写道: > > Hi. > > I'd like to ask you, guys, maybe I'm a dumb a little, and you know how > to optimize a following function. > > inline long long int > skipIf(long long int startPos, const QString &line, > const std::function &pred, > long long int e

Re: Performance improvement

2025-05-22 Thread Konstantin Kharlamov
On Thu, 2025-05-22 at 19:21 +0300, Igor Mironchik wrote: > Hi. > > I'd like to ask you, guys, maybe I'm a dumb a little, and you know > how > to optimize a following function. > > inline long long int > skipIf(long long int startPos, const QString &line, >     const std::function &pred, >   

Re: Performance improvement

2025-05-22 Thread Sune Vuorela
On 2025-05-22, Igor Mironchik wrote: > Hi. > > I'd like to ask you, guys, maybe I'm a dumb a little, and you know how > to optimize a following function. I don't understand the requirements. Can you provide 10 sets of input/output ? /Sune