Re: Make Eq type class single method

Sven Panne <[email protected]> Wed, 20 Oct 2021 18:55:11 +0200
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <CANBN=ms_TifrSe2Y=+Q011k8Ve2uFxz8v5NC870sNP2OeRc+Wg@mail.gmail.com>
Am Mi., 20. Okt. 2021 um 18:51 Uhr schrieb Oleg Grenrus <[email protected]
>:

> [...] 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. ;-)

_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries