[PATCH] Improve strtok(_r) performance

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon Nov 14 12:50:00 GMT 2016


Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
> Why not aim for simplicity and just use strtok_r and strtok? I should
> be a tail call in most architecture and performance loss should be
> minimum.

You mean avoiding the duplication of code? Say inlining or tailcalling
strtok_r in string/strtok_r.c?

Wilco



More information about the Libc-alpha mailing list