[erlang-bugs] lists:delete on tmp supervisors

Siri Hansen <>
Wed Apr 27 12:02:26 CEST 2011

Hello Evgeniy!

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
>> lists:delete.
>> 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).
> --
> Regards,
> Evgeniy Khramtsov, ProcessOne.
> xmpp:
> _______________________________________________
> erlang-bugs mailing list
> http://erlang.org/mailman/listinfo/erlang-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110427/d1b70151/attachment.html>

More information about the erlang-bugs mailing list