[erlang-questions] ets table instead of large record
Sun Oct 23 15:48:51 CEST 2011
You are banned! :-)
----- Original Message -----
> I'll probably get banned for suggesting this: process dictionary ;)
> > Date: Sat, 22 Oct 2011 07:19:18 -0400
> > From:
> > To:
> > CC:
> > Subject: Re: [erlang-questions] ets table instead of large record
> > # Joel Reymont 2011-10-22:
> > > I have a record of 80 fields or so.
> > >
> > > I would like to use an ETS table for each instance of this
> > > record.
> > >
> > > Each field of the record would become a separate key in my table.
> > >
> > > Are there any drawbacks to this approach?
> > ETS tables are somewhat scarce resource, I'd consider using global
> > table instead of having it per-instance. Other than that, can you
> > tell more about expected access patterns, timing requirements and
> > such? Things can get tricky if you need something that looks too
> > much like transactions (but it's not impossible).
> > BR,
> > -- Jachym
> > _______________________________________________
> > erlang-questions mailing list
> > http://erlang.org/mailman/listinfo/erlang-questions
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions