Hey guys,
I'm trying to figure out what the best way to store a certain set of data is.
The data pretty much consists of a series two-dimensional associative arrays, one element representing a color (in RGB or hexadecimal, doesnt matter), and the other element representing an integer: frequency. (ex. #FF0000 => 26).
One complete set of this data could have dozens of individual arrays, but I want every color in a given set to be able to be computed individually, so that I can search by color.
One complete set of data also maps to a user ID.
I'd love to hear any ideas any of you have, and thanks a lot!