<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the prompt responses guys ;-)<div><br></div><div><div>Regards,</div><div>Zabrane</div><div><br></div><div><div>On Jan 4, 2012, at 5:48 PM, dmitry kolesnikov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>O(n) </div><div><br></div><div>See <span class="Apple-style-span" style=""><a href="http://erlang.org/pipermail/erlang-questions/1999-January/000087.html">http://erlang.org/pipermail/erlang-questions/1999-January/000087.html</a></span></div>
<div><br></div><div>Dmitry</div><div><br>On 4.1.2012, at 18.42, Zabrane Mickael <<a href="mailto:zabrane3@gmail.com">zabrane3@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi guys,<div><br>
</div><div>Is the call to <b>length(L)</b> traverse all the list ?</div><div>or is it something already pre-computed internally (i.e constant time = fast)?</div><div><br><div>
<div style="font-size:medium">Regards,</div><div style="font-size:medium">Zabrane</div>
</div>
<br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br>
<span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br></div></span>
</div>
<br></div></body></html>