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

Michael Uvarov freeakk@REDACTED
Sun Feb 25 18:05:48 CET 2018


Unknown messages will come if you have a call, that timeouts and you catch
an error.

On Sun, 25 Feb 2018, 16:38 Steve Strong, <steve@REDACTED> wrote:

> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180225/059d5ada/attachment.htm>


More information about the erlang-questions mailing list