[erlang-questions] is length(L) fast?
Tue Jan 24 22:21:57 CET 2012
Very interesting analysis. Thanks Marek.
On Jan 24, 2012, at 3:59 PM, Marek Majkowski wrote:
> 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 =
> May be out of interest:
More information about the erlang-questions