[erlang-questions] Special syntax for dictionaries
Thu May 6 10:44:36 CEST 2010
> Actually I would prefer not to be limited by "keys are only atoms"
> rule (but still having pattern-matching functionality). For example,
> dictionary where keys can be strings is superior for representing JSON
> documents, that, say, can be fetched from MongoDB and have a lot of
> long strings as keys.
> Sergey Samokhin
I hope you realize keys in mongodb are a part of the document that gets
saved as well. So you're wasting a lot of space if you're using long key
names in documents.
More information about the erlang-questions