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

Benoit Chesneau bchesneau@REDACTED
Thu Nov 5 10:14:37 CET 2015


thanks for the answer! will let it in memory then
On Wed, 4 Nov 2015 at 21:54, Richard Carlsson <carlsson.richard@REDACTED>
wrote:

> 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/20151105/5f555a02/attachment.htm>


More information about the erlang-questions mailing list