lean4-htt/src/Lean/Elab/Deriving
Kim Morrison 72e952eadc
chore: avoid runtime array bounds checks (#6134)
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.
2024-11-21 05:04:52 +00:00
..
Basic.lean chore: remove unused deriving handler argument syntax (#5265) 2024-11-01 22:41:38 +00:00
BEq.lean fix: reduction behaviour of derived BEq instances 2024-07-29 08:58:49 +10:00
DecEq.lean refactor: deriving DecidableEq to use termination_by structural (#4826) 2024-07-29 21:24:05 +00:00
FromToJson.lean chore: rename List.join to List.flatten 2024-10-14 22:28:12 +11:00
Hashable.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Inhabited.lean refactor: more idiomatic syntax for if h: (#5567) 2024-10-01 15:23:54 +00:00
Nonempty.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Ord.lean chore: use Ordering.then in deriving Ord (#3893) 2024-04-12 21:09:27 +00:00
Repr.lean refactor: more idiomatic syntax for if h: (#5567) 2024-10-01 15:23:54 +00:00
SizeOf.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
TypeName.lean chore: move MessageData.ofConstName earlier (#5877) 2024-10-29 21:23:51 +00:00
Util.lean chore: avoid runtime array bounds checks (#6134) 2024-11-21 05:04:52 +00:00