[erlang-questions] behavior of lists:append/1

Pierpaolo Bernardi olopierpa@REDACTED
Mon Sep 16 21:03:06 CEST 2019


Il giorno 16 settembre 2019, alle ore 15:54, zxq9 <zxq9@REDACTED> ha scritto:
 
>I didn't follow this thread closely, but I'm surprised I didn't see 
>doing a single type check on entry as a possibility. What issues would 
>make this a bad idea?

Only that you add a linear factor to every use of append.

Many linear algorithms would became quadratic, etc etc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190916/817ec58d/attachment.htm>


More information about the erlang-questions mailing list