Ensure efficient use of parameter values.
Created by: Niklas Korsbo
The use of these types must be efficient!
Things to ensure:
- Currently, some of the indexing is done in a clunky way that uses an unnecessary amount of calculations/memory allocation. My own parameter sets are usually small enough for this never to matter. However, if we can achieve the same results without allocations I'd be happier.
- I don't know if the compiler can make sufficient inferences when we pass a parameter object to a function. Check this, and fix if necessary (this could be important!).