diff --git a/src/args.rs b/src/args.rs index 7306e0b..418ff12 100644 --- a/src/args.rs +++ b/src/args.rs @@ -292,6 +292,9 @@ impl RawArgs { } else if cfg!(windows) { // On Windows, memory maps appear faster than read calls. Neat. true + } else if cfg!(darwin) { + // On Mac, memory maps appear to suck. Neat. + false } else { // If we're only searching a few paths and all of them are // files, then memory maps are probably faster.