[erlang-questions] maps iterator

Sergej Jurečko sergej.jurecko@REDACTED
Tue Sep 29 10:12:55 CEST 2015


Something like gb_trees:iterator_from
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.


Sergej

On Mon, Sep 28, 2015 at 10:34 PM, Theepan <vasdeveloper@REDACTED> wrote:

> 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)?
>
> Theepan
>
> On Tue, Sep 29, 2015 at 1:24 AM, Sergej Jurečko <sergej.jurecko@REDACTED>
> wrote:
>
>> Are maps ever going to get an iterator?
>>
>> Sergej
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150929/034ea64c/attachment.htm>


More information about the erlang-questions mailing list