Fast and flexible primitives for recursive file system IO on Posix systems
BSD-3-CLAUSE License
Blazingly fast functions for recursive file system operations.
Utilizing lazy IO for constant space & computation efficiant bindigns to Posix dirstream
api.
Tests were performed on relatively modern consumer grade HW with relatively modern consumer grade M.2 SSD drive. All done on binaries compiled with optimization that are listing the same directory with 1,705,184 items.
RawFilePath
/ByteStringFilePath
/StringFilePath
/String is the only option)Filesystem.Path
is the only option)Cabal flag bin
is being used for building the example binaries that can be used for measurement.
make bin
or to build and run one of the binaries:
$ stack build --flag unix-recursive:bin --exec "unix-recursive-bytestring-bin ${path-to-directory}"
This project uses the "Perfect Haskell Preprocessor" (PHP) for generating haskell source from meta module hs.
See gen
directory and MakeFile
before you start hackking on stuff.