haskell / haskell/bytestring

make `readFile` faster by using `shrinkMutableByteArray#`

Open
#546 1 comment 0 reactions 0 assignees View on GitHub
performance
Dominant language
Haskell
Stars
301
Forks
144
Avg merge
7d 22h
Merged PRs (30d)
1

Description

We can use `MutableByteArray`, doubling, and shrinking instead of creating a list of chunks and then concatenating them. This should also make writing #540 way easier as it is just `SBS.readFile = readFile' >>= freezeByteArray`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.