Hi All - So this may be an extraordinary dumb question (even for me...) but is there such a thing as a map with compound keys?
For example lets say that I have a data set that looks like.... Cat Gender item-Id's 1 M 1 2 3 4 5 6 7 8 9 1 F 2 4 5 6607 43 54 234 2 M 1 2 3 4 5 6 7 8 44 6 23 44 2 F 2 4 6 8 10 12 17 38 55 3 M 1 2 3 4 3 F 2 4 6 8 33 45 10 12 ... where I would want to do a look up on both the category and the gender. I could do map - in - map, or do something like a (str cat gender) to amalgamate 2 fields to set the key but I was just wondering if this even existed. How do you all model this data? I was using Incanter's data set $where statements for this but have been having performance issues with it and am trying to speed up this operation. I have a data set with around 130,000 rows so a map would really help pare things down in a hurry... Sorry for the *really bad* question! Thanks Base -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
