<div dir="ltr"><div><div>Something like gb_trees:iterator_from<br></div>If you're traversing the entire map then to_list is fine (which fold,map use). But if you wish to only traverse a subset of k/v pairs in a large map it is quite wasteful. <br><br><br></div>Sergej</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 10:34 PM, Theepan <span dir="ltr"><<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What type of an iterator are you expecting? Can't you solve your problem with the existing iterators (fold, map) or facilities to create one (to_list, keys)?<div><br></div><div>Theepan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Sep 29, 2015 at 1:24 AM, Sergej Jurečko <span dir="ltr"><<a href="mailto:sergej.jurecko@gmail.com" target="_blank">sergej.jurecko@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>Are maps ever going to get an iterator? </div><span><font color="#888888"><div><br></div><div>Sergej </div></font></span></div>
<br></span>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>