This PR avoids runtime array bounds checks in places where it can trivially be done at compile time. None of these changes are of particular consequence: I mostly wanted to learn how much we do this, and what the obstacles are to doing it less. |
||
|---|---|---|
| .. | ||
| Basic.lean | ||
| BEq.lean | ||
| DecEq.lean | ||
| FromToJson.lean | ||
| Hashable.lean | ||
| Inhabited.lean | ||
| Nonempty.lean | ||
| Ord.lean | ||
| Repr.lean | ||
| SizeOf.lean | ||
| TypeName.lean | ||
| Util.lean | ||