• A
    Add support for memory maps. · ca058d75
    Andrew Gallant 提交于
    I though plain `read` had usurped them, but when searching a very small
    number of files, mmaps can be around 20% faster on Linux. It'd be really
    unfortunate to leave that on the table.
    
    Mmap searching doesn't support contexts yet, but we probably don't really
    care. And duplicating that logic doesn't sound fun. Without contexts, mmap
    searching is delightfully simple.
    ca058d75
search_buffer.rs 8.0 KB