-
Notifications
You must be signed in to change notification settings - Fork 677
refactor: use Shrink
stub in the iterator framework
#10725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d14f568
to
1d641f2
Compare
!bench |
Benchmark results for 1d641f2 against 71ddf22 are in! @datokrat |
Here are the benchmark results for commit 1d641f2. |
Mathlib CI status (docs):
|
Reference manual CI status:
|
!bench |
Benchmark results for 96c2e15 against 71ddf22 are in! @datokrat |
Here are the benchmark results for commit 96c2e15. |
!bench |
Benchmark results for 96c2e15 against 71ddf22 are in! @datokrat |
Here are the benchmark results for commit 96c2e15. |
!radar |
Benchmark results for a10cbef against 71ddf22 are in! @datokrat |
!radar |
Benchmark results for df636df against 71ddf22 are in! @datokrat |
df636df
to
4bcacfb
Compare
b2f8330
to
95b17ff
Compare
This PR introduces a no-op version of
Shrink
, a type that should allow shrinking small types into smaller universes given a proof that the type is small enough, and uses it in the iterator library. Because this type would require special compiler support, the current version is just a wrapper around the inner type so that the wrapper is equivalent, but not definitionally equivalent.While
Shrink
is unable to shrink universes right now, but introducing it now will allow us to generalize the universes in the iterator library with fewer breaking changes as soon as an actualShrink
is possible.