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



On 14/11/2016 10:50, Wilco Dijkstra wrote:
> 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

Yes.


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