- Joined
- Nov 3, 2013
- Messages
- 989
this might not strictly be wc3 related per se but can you somehow get a math function from a series of values to use instead of hashtable?
I'd normally use a hashtable and have a & b as keys while c would be the saved/loaded value.
But since the values are static/ won't change I thought it should work to just have some polynomial function or something that make "a[n] & b[n] -> c[n]".
Tried looking for a program that creates a function that uses a series of input values to create a function w/ google but no success there.
Basically hashtable is better than checking through series of values repeatedly but doing some calculation should be even more superior if you can do that instead...
I'd normally use a hashtable and have a & b as keys while c would be the saved/loaded value.
But since the values are static/ won't change I thought it should work to just have some polynomial function or something that make "a[n] & b[n] -> c[n]".
Tried looking for a program that creates a function that uses a series of input values to create a function w/ google but no success there.
Basically hashtable is better than checking through series of values repeatedly but doing some calculation should be even more superior if you can do that instead...