Eric Blake <[EMAIL PROTECTED]> wrote:
> Wow!  Check out the speedup with this patch, comparing an -O2 /bin/cut
> pre-patch against an unoptimized -g cut post-patch, and that's even with
> running /bin/cut second so it benefits from any file system caching effects.
...
> And all I did was make getndelim2 smarter to process data in blocks
> instead of bytes, by exploiting freadptr and memchr2, and cut is roughly
> 40% faster.

Wow, indeed.
Nice work!


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to