[Haskell] ANNOUNCE: mm2: The library that can be used for optimization of multiple (Ord a) => a -> b transformations

David Feuer david.feuer at gmail.com
Sat Sep 21 18:39:04 UTC 2019


Case matching is already optimized in GHC. There might be ways to improve
it, but it already uses binary search and/or jump tables to improve
performance when there are many branches.

On Sat, Sep 21, 2019, 8:59 AM olexandr543--- via Haskell <
haskell at haskell.org> wrote:

> Hello!
>
> My library that can help to optimize using 'case ... of ...' construction
> if there are multiple (more than at least 5) variants.
> mm2: The library that can be used for optimization of multiple (Ord a) =>
> a -> b transformations <http://hackage.haskell.org/package/mm2>
>
> Best regards,
> Oleksandr Zhabenko.
>
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell/attachments/20190921/8222db4d/attachment.html>


More information about the Haskell mailing list