On 6 October 2011 15:40, Bernhard Reutner-Fischer <rep.dot....@gmail.com> wrote: > This is a completely untested variant to hopefully speed-up > fgets_unlocked and it's users by not doing char-IO as was done before. > Since we still rely on fgets for getdelim (instead of using the common > guts of fgets_unlocked with the given delimiter plus surounding realloc > loop) we are still slower as an inlined version, of course. > Please test with your speed-hat on and report back.
Anyone? :) cheers, > TIA, > > > Bernhard Reutner-Fischer (2): > getdelim: tiny shrinkage > stdio: make getdelim faster > > libc/stdio/_stdio.h | 6 +++++ > libc/stdio/fgets.c | 36 ++++++++++++++++++++++++------- > libc/stdio/getdelim.c | 57 +++++++++++++++++++++++++++++++++++++++++------- > 3 files changed, 82 insertions(+), 17 deletions(-) > > -- > 1.7.6.3 > _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc