[erlang-questions] is length(L) fast?

Zabrane Mickael zabrane3@REDACTED
Wed Jan 4 17:38:04 CET 2012


Hi guys,

Is the call to length(L) traverse all the list ?
or is it something already pre-computed internally (i.e constant time = fast)?

Regards,
Zabrane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120104/dae0f418/attachment.htm>


More information about the erlang-questions mailing list