Efficiency of big return functions?
Sun Aug 30 13:12:18 CEST 2020
Yes, I see. :) Well, thanks to elixir macros I was able to do my
computation with the full power of the language as well before making it
a module. The only downside would be that if I want to ever change it I
have to regenerate and compile the module...
Cheers and thanks,
On 30.08.2020 12:56, Jesper Louis Andersen wrote:
> On Sat, Aug 29, 2020 at 11:38 PM Oliver Korpilla
> <oliver.korpilla@REDACTED <mailto:oliver.korpilla@REDACTED>> wrote:
> If I understand you right, my generated code has probably no
> advantage over persistent_term? Shame... It was fun to write,
> The advantage of persistent_term is that you can do turing complete
> computation and then stuff a term into the persistent store. It is a
> bit more convenient than building a module and then compiling it.
> Alas, you don't get the fun of writing said module though :)
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
More information about the erlang-questions