Skip to content
Snippets Groups Projects
Commit 4d0d7e49 authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard
Browse files

kernelbase: Reuse the previous iteration's pos and sortkey state if possible in find_substring.


We don't have to reset pos and the sortkey state for every iteration of
the for-loop. In most cases the previous iteration's values are still
valid, and can be re-used, skipping a lot of duplicate work.

Signed-off-by: default avatarTorge Matthies <tmatthies@codeweavers.com>
parent 01146582
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment