derekkraan / horde

Horde is a distributed Supervisor and Registry backed by DeltaCrdt
MIT License
1.32k stars 106 forks source link

Use a function to traverse ETS instead of using tab2list #229

Closed astutecat closed 3 years ago

astutecat commented 3 years ago

This PR will make use of :ets.first and :ets.next to traverse ETS and test the given predicate against entries, which should yield some performance gain over using tab2list and then iterating over the list with Enum.any?