[PhraseAndIterator] Remove temporary arrays when checking matches
ClosedPublic

Authored by bruns on Apr 15 2020, 10:24 PM.

Details

Summary

Instead of copying all positions and applying the the shift on the
copies, apply the shift when comparing the positions.

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 15 2020, 10:24 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 15 2020, 10:24 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 15 2020, 10:24 PM
ngraham accepted this revision.Apr 16 2020, 4:57 PM
This revision is now accepted and ready to land.Apr 16 2020, 4:57 PM
This revision was automatically updated to reflect the committed changes.