I wanted to optimize compile time, so I had
-Xfrontend -warn-long-expression-type-checking=200 flag on to figure out what causes long time to type check.
== equality operators were causing long time to type check. So my question is..
- Why does equality operator causes long time to type check?
- Is there an alternative way to compare equality? rather than explicity using
==operator? And why would this way cause less compile time?