wrengr / bytestring-trie

An efficient finite map from (byte)strings to values.
BSD 3-Clause "New" or "Revised" License
19 stars 24 forks source link

Under GHC 8, use runRW# primop #2

Open treeowl opened 8 years ago

treeowl commented 8 years ago

The UnsafeST module says it's all about working around [https://ghc.haskell.org/trac/ghc/ticket/5916]. That ticket has now been closed thanks to the new runRW# primop. You should probably use that when available. You should also be able to remove the -fno-full-laziness from things using that module.

wrengr commented 3 years ago

Note to self: runRW# appears to have been added in base-4.10.0.0 / ghc-8.2.1, and the kinding of the result type was generalized in base-4.13.0.0 / ghc-8.8.1