use file-io for readFile/writeFile/appendFile on ByteStrings
These are all straightforward, and easy small performance wins. Sponsored-by: Nicholas Golder-Manning
This commit is contained in:
parent
90cd3aad37
commit
9b79f0f43d
19 changed files with 63 additions and 52 deletions
|
@ -18,7 +18,7 @@ status.
|
|||
mechanical, with only some wrapper functions in Utility.FileIO and
|
||||
Utility.RawFilePath needing to be changed.
|
||||
* Utility.FileIO is used for most withFile and openFile, but not yet for
|
||||
readFile, writeFile, and appendFile. Including versions of those from
|
||||
readFile, writeFile, and appendFile (except most ones on bytestrings)
|
||||
bytestring. Also readFileStrict should be replaced with
|
||||
Utility.FileIO.readFile'
|
||||
Note that the String versions can do newline translation, which has to be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue