Switch to a memory-mapped file index for better performance