@mooori mentioned that this topic came up in discussions.
I'm thinking:
- Avoid memory allocation.
- Avoid unaligned memory access (avoid small ints like i8 and i16).
- Avoid
Vec and probably other high-level container types. Use arrays.
Felt arithmetic should have near-zero overhead but we want to discourage it (see #999) so I guess we should not promote it here either.
@bitwalker Thoughts?
/cc @bobbinth @Keinberger
@mooori mentioned that this topic came up in discussions.
I'm thinking:
Vecand probably other high-level container types. Use arrays.Felt arithmetic should have near-zero overhead but we want to discourage it (see #999) so I guess we should not promote it here either.
@bitwalker Thoughts?
/cc @bobbinth @Keinberger