[erlang-questions] handle_info stopped crashing if no match?

Steve Strong steve@REDACTED
Sun Feb 25 16:38:14 CET 2018


Unless you’re comparing binaries for equality, in which case =:= is vastly more performant than ==, although I believe this has been fixed in a recent pull request...

Sent from my iPhone

> On 25 Feb 2018, at 15:23, Anthony Ramine <n.oxyde@REDACTED> wrote:
> 
> There is absolutely no such performance benefit if at least one of the operands is known to not be an integer, the compiler optimises that.
> 
>> Le 25 févr. 2018 à 11:38, Mikael Pettersson <mikpelinux@REDACTED> a écrit :
>> 
>> Generally use the exact operations =:= and =/= unless you're certain
>> you want the variants with implicit numerical conversions.  There's
>> also a slight performance benefit to the exact operations.
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list