[erlang-questions] which one is more efficiency? ets or pattern match?
Thu Mar 17 13:47:34 CET 2016
On Wed, Mar 16, 2016 at 2:53 PM, Fred Hebert <> wrote:
> Oh oh oh, this is a dangerous thing! You would be switching the purely
> functional semantics of the array module into destructive ones using ETS
> tables! This is what sofs do for sets, and the usage patterns may change
Not sure what you mean with the comment about sofs.
sofs is purely functional and does not use ets.
It has a few functions that convert to and from
digraphs (and the digraph uses ets), but there is
no direct use of ets.
P.S. As one of the biggest fans of the sofs module,
I thought I had to defend sofs. :-)
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions