lean4-htt/stage0
Henrik Böving 33e63bb6c3
perf: mark ReaderT context argument as borrow (#12942)
This PR marks the context argument of `ReaderT` as borrowed, causing a
wide spread of useful borrow annotations throughout the entire meta
stack which reduces RC pressure. This introduces a crucial new behavior:
When modifying `ReaderT` context, e.g. through `withReader` this will
almost always cause an allocation. Given that the `ReaderT` context is
frequently used in a non-linear fashion anyways we think this is an
acceptable behavior.
2026-03-23 14:45:52 +00:00
..
src perf: mark ReaderT context argument as borrow (#12942) 2026-03-23 14:45:52 +00:00
stdlib chore: update stage0 2026-03-23 14:42:07 +00:00