Efficiency of big return functions?

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sat Aug 29 22:46:55 CEST 2020


On Thu, Aug 27, 2020 at 11:51 AM Oliver Korpilla <oliver.korpilla@REDACTED>
wrote:

> Hello,
>
> I have some data that's between 100K and 1M in size, depending if I use
> the whole data set or just a part. Access is read-only.
>
>
Sounds like a job for the module persistent_term to me. That should give
you very fast read-only access. It kind-of uses the same literal space as
other posts suggest, but does it a bit more directly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200829/0b3ea132/attachment.htm>


More information about the erlang-questions mailing list