Hi
Is the following list construction an efficient one?
flush() ->
receive
Msg ->
[Msg|flush()]
after 17 ->
[]
end.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110520/cc11d0da/attachment.htm>