Given the following struct:
struct{
// Keys
int key1;
double key2;
type key3;
...
// Variables to increment
double varibleToIncrement;
...
}
What would be the best container to store these records given that I will need to increment the variables of the ones which are already in it (based on all the keys)?
I am currently using a set<> and have set my variableToIncrement to mutable in order to be able to modify it. Would Multi-Index be a more efficient solution?
Thanks in advance! Max