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

Using FieldT vs FieldT& for constants #25

Open
ValarDragon opened this issue Sep 9, 2020 · 0 comments
Open

Using FieldT vs FieldT& for constants #25

ValarDragon opened this issue Sep 9, 2020 · 0 comments

Comments

@ValarDragon
Copy link
Member

Throughout the code, classes often have functions to return constants. e.g. field_subset.generator(), field_subset.shift()

Does having these functions return FieldT, or FieldT& make any performance difference? If so, does it vary with field size? If not, then should we just default to FieldT?

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