[erlang-questions] How to Update List Elements A Lot
Jesper Louis Andersen
Tue Jul 21 09:55:28 CEST 2015
On Tue, Jul 21, 2015 at 6:00 AM, Hugo Wang <w@REDACTED> wrote:
> In other language, like C or Python, we can init an output list and then
> update its elements inline. In Erlang, what I currently do, would make a
> copy of the list every time when an element need to update. This looks not
> quite right.
Do you have a small snippet of an inner loop somewhere? It may be easier to
recommend an approach then. Do note that crypto-stuff in Erlang is perhaps
not the best approach since the complexity of the VM makes it harder to
account for side channels.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions