haskell-streaming / streaming-bytestring

effectful sequences of bytes; an alternative no-lazy-io implementation of Data.ByteString.Lazy
BSD 3-Clause "New" or "Revised" License
16 stars 11 forks source link

Support efficient withForeignPtr for GHC 9.0.1? #48

Closed vdukhovni closed 3 years ago

vdukhovni commented 3 years ago

In GHC 9.0.1 regular withForeignPtr incurs a performance penalty that can be avoided for actions that can't diverge. We may want to adopt changes similar to those in bytestring

vdukhovni commented 3 years ago

I opened #53 to resolve this issue.

[ P.S. lts-6.35 CI seems to be failing for all commits, perhaps just drop it from the matrix? ]

fosskers commented 3 years ago

I've noticed the lts-6 issue and tried to debug it, but couldn't replicate it locally. I might just drop it from the Matrix after all.