pushing a dict in the constant pool

Paolo Negri <>
Mon Jan 24 18:43:22 CET 2011

Dear list,

I would like to know if there's a way to get a dict to be stored in
the constant pool

For a list I would do

get_useful_list() ->
  [my, useful, ubiquitous, list]

But if I would like to have a similar function to get a dict (with up
to few hundreds entries), how would it look like?
My reason to look into this is in order to be able to efficiently
distribute constant and immutable configuration data to thousands of
processes and provide constant time lookup.

Thanks for your help.


More information about the erlang-questions mailing list