Faster search, but for some weird reasone grep is broken