posted 15 years ago
you might be able to hash the three key elements together in such a way as to make a key, and then use a hashmap instead of an Array.
note: you can always go back and edit your own posts, rather than creating a (mostly) duplicate one by clicking the pencil/paper icon above your post.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors