[PATCH resend] include/wine/unicode: Avoid scanning the entire string in memrchrW

Alexandre Julliard julliard at winehq.org
Mon Apr 22 10:22:02 CDT 2019


Gabriel Ivăncescu <gabrielopcode at gmail.com> writes:

> Scanning backwards can avoid a full scan of the entire string and makes
> more sense since we are looking for the last char.

It was done this way for symmetry with the other similar functions.
I don't think it's necessary to change it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list