Skip to content
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

Improvements using const generics #961

Open
3 of 6 tasks
bluss opened this issue Mar 28, 2021 · 1 comment
Open
3 of 6 tasks

Improvements using const generics #961

bluss opened this issue Mar 28, 2021 · 1 comment
Milestone

Comments

@bluss
Copy link
Member

bluss commented Mar 28, 2021

There are a few minor features and improvements we can do with const generics. This meta-issue is mainly about those.

Big-ticket items get their own issue. In particular remaking index and dimension types gets is own ticket.

Easy add-ons

  • IntoNdProducer impl for &[T; N]
  • FixedInitializer or replacement impl for &array - replace with just const generics of arrays
  • From<&array> and similar implementations
  • NdIndex / Index impls using [T; N] in particular for ixdyn ?

Long term features

@bluss bluss changed the title Const generics wishlist Improvements using const generics Mar 28, 2021
@bluss bluss added this to the 0.16.0 milestone May 17, 2021
@JulianKnodt
Copy link

I was looking at the codebase, and was wondering if there was anything more to implement for const generics? I browsed through the linked issue for dimension types, but it seems older and likely has significantly changed since then. There was also a recent issue about converting dimensions to const generics, and was wondering how viable that was/what is missing from const generics for that to happen?

@bluss bluss modified the milestones: 0.16.0, 0.17.0 Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants