There are other possibilities:

* using interned Strings as keys will prevent duplicate storage of the
keys
http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#intern%28%29

* you could make a custom data structure that stores the keys / rows
as vectors and generates a sequence of maps when you want to iterate
over the rows

Type hinted record fields only matter for memory usage when you're
hinting to primitive types. Everything else in Java, including
Strings, is an object, with the same memory overhead.

-Stuart Sierra
clojure.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to