[erlang-questions] merl : loading vs storing as beam

Richard Carlsson carlsson.richard@REDACTED
Wed Nov 4 21:54:16 CET 2015


Not really, unless you want to cache it for faster startup, if it's a very
large generated module (or several).


        /Richard

On Wed, Nov 4, 2015 at 5:00 PM, Benoit Chesneau <bchesneau@REDACTED> wrote:

> Hi,
>
> for an application i was using merl to create dynamically a module. I am
> for now just loading it in memory using `merl:compile_and_load/2` .
>
> But I am wondering if I should also store it on the file system. Is there
> any reason to do it on a live system since the module will always be
> regenerated on restart?
>
> - benoit
>
>
> _______________________________________________
> 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/20151104/c64bcf43/attachment.htm>


More information about the erlang-questions mailing list