Cosimo wrote:
Patrick wrote:

[...] I also improved utf8_set_position

What happens if string already has `i->charpos > pos' ?

[... /me reads again the diff ...]

I realized while writing this that if `i->charpos > pos'.
you simply end up re-scanning the string from the start.
Is that correct?

Actually I meant "Is my understanding correct?",
and not "Is this the correct way of doing".

--
Cosimo

Reply via email to