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@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.Best regards,Oleksandr Zhabenko.
Haskell mailing list
Haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
Haskell mailing list
Haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
