[erlang-questions] Re: Unicast 20k messages, $500-$1000 bounty

Joel Reymont <>
Thu Jul 16 16:23:57 CEST 2009


On Jul 16, 2009, at 2:57 PM, Paulo Sérgio Almeida wrote:

> - obtain the list of pids with ets:select, as in:
>
>  ets:select(State#state.subs, [{{'$1', '_'}, [], ['$1']}]).

Would it not be faster to call ets:tab2list?

I would think so, intuitively, since on select work needs to be done.

	Thanks, Joel

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont



More information about the erlang-questions mailing list