News for hackers. Stuff that matters.
Re:Make grep 50x faster by anilshanbhag on Sunday December 15, 2013 @12:23PM (#6910037)
I am curious what will happen when we run the commands in the reverse order. The LANG=C variation before the first. I suspect some of the speedup is because you just brought the file into memory.
Re:Make grep 50x faster by ye on Sunday December 15, 2013 @01:40PM (#6910289)
Not only that, the search branches are sitting in the CPU caches.
Re:Make grep 50x faster by pygy_ on Sunday December 15, 2013 @02:50PM (#6910567)
Wouldn't the cache be flushed by the OS and other background processes, in the mean time, plus the display updates in the shell and the shell history?