[erlang-questions] Static Map ( Keys known at compile time )
Frank Muller
frank.muller.erl@REDACTED
Mon Apr 29 08:41:55 CEST 2019
Mochiglobal:
http://erlang.org/pipermail/erlang-questions/2012-May/066892.html
http://erlang.org/doc/man/persistent_term.html
>
> /Frank
>
> Hello All,
>>
>> Does Erlang supports Static Maps ? Something like, All possible Keys of
>> Map has to be define at compile time and Can not be added/deleted
>> dynamically.
>>
>> In a project we have a record with ~50 element and their fields will be
>> accessed/Modified multiple times through out the Business Logic flow.
>> Though we are not storing it in Mnesia. Does replacing Record with Map will
>> be better option in terms of performance ?
>>
>> The primary thing we want is Static Map. No one should add/delete Keys in
>> Map. Is it Possible ?
>>
>> Thanks,
>> Prakash
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190429/45a5898e/attachment.htm>
More information about the erlang-questions
mailing list