opt out of accursedUnutterablePerformIO

Tom Murphy amindfv at gmail.com
Sat Mar 10 19:32:04 UTC 2018


John, are you able to share this benchmarking code?

Thanks,
Tom

On Mon, Mar 5, 2018 at 12:07 AM, John Wiegley <johnw at newartisans.com> wrote:

> >>>>> "DF" == David Feuer <david.feuer at gmail.com> writes:
>
> DF> For the record, the "public" version of runRW# is called
> DF> unsafeDupablePerformIO. It would be a good idea to find out if it can
> DF> be used throughout bytestring without a significant penalty. If so,
> DF> that would eliminate a bunch of scary stuff. If not, it would be nice
> DF> to understand why.
>
> In my tests, using unsafeDupablePerformIO instead of
> accursedUnutterablePerformIO induces a 15% performance penalty.
>
> --
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180310/6f86223b/attachment.html>


More information about the Libraries mailing list