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

Use const fn for size functions #1

Open
DarkOtter opened this issue Jun 9, 2018 · 0 comments
Open

Use const fn for size functions #1

DarkOtter opened this issue Jun 9, 2018 · 0 comments
Milestone

Comments

@DarkOtter
Copy link
Owner

Various functions for calculating size etc. can be used at compile time, and should probably be made const fn once support is added to the stable compiler (see rust-lang/rust#24111). There's no benefit to doing this before it hits the stable compiler really - there should be no significant/useful performance impact.

@DarkOtter DarkOtter added this to the v5 milestone Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant