[erlang-bugs] lists:delete on tmp supervisors
Wed Apr 27 12:02:26 CEST 2011
Thank you for this contribution. The list representation was introduced by a
correction that was done in R14B02, where it was decided not to save the
initial arguments for dynamic temporary processes. Thus the original dict
was no longer needed for this type of processes, and a list was used
instead. I think your patch is a good improvement. I will try to fit it into
the coming release.
2011/4/27 Evgeniy Khramtsov <>
> 25.04.2011 21:03, Evgeniy Khramtsov wrote:
>> Temporary supervisors use lists to keep the children data, and, thus are
>> extremely slow when there are lots of children added/deleted. I've noticed a
>> huge message queue overload on stress tests with current_function being
>> Is it a bug or a feature? It seems like it was introduced recently, at
>> least the issue presents in R14B02.
> A simple patch against the 'dev' branch is attached. If you are not
> convenient with sets, you can try gb_sets (since the former consumes a bit
> more memory).
> Evgeniy Khramtsov, ProcessOne.
> erlang-bugs mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-bugs