Just learned: ordering a pattern match in #Erlang so the most common case is first improves performance noticeably.
-
-
Replying to @heinz_gies
@heinz_gies Not necessarily. Used to be sequential, not any more. Now it depends on what you are matching and barely makes a difference.1 reply 0 retweets 0 likes -
Replying to @FrancescoC
@francescoc Done some more comparison it seems most of the performance diff was based on pulling the binary to match on out of the record.2 replies 0 retweets 0 likes
Replying to @heinz_gies
@heinz_gies I think it changed in R14, if not before. http://www.erlang.org/doc/efficiency_guide/functions.html …
0 replies
1 retweet
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.