[erlang-questions] Store maps in ets/dets?
Michael Loftis
mloftis@REDACTED
Fri Apr 11 01:49:22 CEST 2014
On Thu, Apr 10, 2014 at 9:33 AM, Björn-Egil Dahlberg <egil@REDACTED> wrote:
> On 2014-04-10 18:14, Michael Loftis wrote:
>> I think you might mean the opposite here....that maps is ephemeral and
>> ETS is persistent (or can be persistent using DETS anyway)
>
>
> I don't like the word ephemeral here =)
>
> Persistent is used all over to describe Maps as immutable. Though if you
> have a database background the meaning of "persistent" is of course another.
> Describing ETS as persistent is stretching it a bit far.
>
> Maps are copied on update (atleast the values are copied) i.e. Maps are
> immutable and in some circles this is equivalent to persistent.
Immutable is definitely the word...ephemeral definitely isn't the best
fit - and they're most definitely not persistent if they're
in-process.
More information about the erlang-questions
mailing list