Re: Efficiency of big return functions?

Oliver Korpilla <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Hello, Jesper.

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,
Oliver

On 30.08.2020 12:56, Jesper Louis Andersen wrote:
> On Sat, Aug 29, 2020 at 11:38 PM Oliver Korpilla
> <[email protected] <mailto:[email protected]>> wrote:
>
>     If I understand you right, my generated code has probably no
>     performance
>     advantage over persistent_term? Shame... It was fun to write,
>     though...
>
>
> 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.
https://www.avast.com/antivirus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.