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?
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?