Make Eq type class single method

Sven Panne svenpanne at gmail.com
Wed Oct 20 16:55:11 UTC 2021


Am Mi., 20. Okt. 2021 um 18:51 Uhr schrieb Oleg Grenrus <oleg.grenrus at iki.fi
>:

> [...] Also, we coudl add builtin rewrite rules, rewriting not (eqInt8 x y)
> to neInt8 x y if some benchmarks show that it would be beneficial.


Hopefully such peephole optimizations are done much more generally further
down the compilation pipeline, otherwise we will have more serious
performance problems than the removal of (/=) from Eq. ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20211020/4c1ec914/attachment.html>


More information about the Libraries mailing list