This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improve strtok(_r) performance


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]