----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127813/#review95399 -----------------------------------------------------------
General +1 from me, just two things: 1) Can you split these two change into two commits? One being the part about not removing file: twice, the second about removing duplicate homes? If not, np. 2) Do you have any benchmark numbers about this? Just looking at comparisions, it will take three comparisions each time to check the list, then at least one more comparision assuming they are all the same. Versus only three comparisions on the old code. And if any path does clean the string, the other comparisions are skipped in the old version. That being said, if benchmarks suggest your version is faster in wall time (not callgrind counts), I have no problem taking it. - Matthew Dawson On May 4, 2016, 9:02 p.m., Aleix Pol Gonzalez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/127813/ > ----------------------------------------------------------- > > (Updated May 4, 2016, 9:02 p.m.) > > > Review request for KDE Frameworks and Matthew Dawson. > > > Repository: kconfig > > > Description > ------- > > Just process every home path once, as the 3 alternatives will probably just > be the same. > Don't drop the file: prefix twice in every run. > > > Diffs > ----- > > src/core/kconfiggroup.cpp 39d2441 > > Diff: https://git.reviewboard.kde.org/r/127813/diff/ > > > Testing > ------- > > Tests pass, apps work. > > > Thanks, > > Aleix Pol Gonzalez > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel