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

Anthony Ramine n.oxyde@REDACTED
Sun Feb 25 16:23:36 CET 2018


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.




More information about the erlang-questions mailing list