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

Marek Majkowski majek04@REDACTED
Tue Jan 24 15:59:46 CET 2012


On Wed, Jan 4, 2012 at 16:38, Zabrane Mickael <zabrane3@REDACTED> wrote:
> Is the call to length(L) traverse all the list ?
> or is it something already pre-computed internally (i.e constant time =
> fast)?

May be out of interest:
   http://www.lshift.net/blog/2010/02/28/memory-matters-even-in-erlang

Cheers,
  Marek



More information about the erlang-questions mailing list