Idris2/libs/base/Language
Edwin Brady 40f72e74f0
Case building performance/heuristics (#2020)
* Case tree/coverage checking shortcuts

We were calculating some things we didn't need - we can stop computing
the type of a case operator when we know the head, because that's all we
need for coverage checking. We can also abandon checking a left hand
side for coverage purposes if we encounter an empty type. Both of these
can save quite a bit of time in complex cases.

* Normalisation heuristic for pattern variables

If they get bit, fully normalise (like we do with case types) since it's
likely a big term with lots of applications will normalise a lot.
2021-10-17 18:21:35 +01:00
..
Reflection Case building performance/heuristics (#2020) 2021-10-17 18:21:35 +01:00
Reflection.idr Add try primitive to reflection library (#2008) 2021-10-16 11:24:12 +01:00