-
Notifications
You must be signed in to change notification settings - Fork 20
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
Modernize Rust idioms #381
Comments
What's the right way to make a lazy |
I don't know what the |
|
We shouldn't introduce a dependency on |
I think using const logic would still be a bit painful due to being unable to use iterators (so we should probably avoid it for now to avoid potential burnout). |
I think there's at least a handful of low hanging fruit that don't use iterators. Definitely no need to force the issue, though. A more serious limitation might be the missing transcendental operations on floats. |
Tracking minor cosmetic improvements enabled by recent changes to Rust:
.iter().copied()
on arrays with.into_iter()
lazy_static
with const logic where possible, and otherwiseOnceLock
(or eventuallyLazyLock
, once stabilized)array::from_fn
The text was updated successfully, but these errors were encountered: