Re: Efficiency of big return functions?
Jesper Louis Andersen <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAGrdgiUoqP=omgNVTWHuB0L=dmPCe5gR8TLvdSgxO+6b5XNXGQ@mail.gmail.com> |
On Thu, Aug 27, 2020 at 11:51 AM Oliver Korpilla <[email protected]> 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.