![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Erlang Efficiency Guide
凝冻
游戏开发,erlang服务器程序。
展开
-
Erlang常见注意事项(Efficiency Guide)
Common Caveats(常见注意事项)Erlang/OTP R15B02 Here we list a few modules and BIFs to watch out for, and not only from a performance point of view. 这里我们列出了需要注意的一些模块和内置函数,不仅仅是从性能的角度来看。 1 T转载 2014-08-22 11:49:00 · 712 阅读 · 0 评论 -
Erlang 函数(Efficiency Guide)
Functions1 Pattern matching模式匹配Pattern matching in function head and in case and receive clauses are optimized by the compiler. With a few exceptions, there is nothing to gain by rearra转载 2014-08-22 11:41:40 · 628 阅读 · 0 评论 -
Erlang构建和匹配二进制数据(Efficiency Guide)
Constructing and matching binariesErlang/OTP R15B02In R12B, the most natural way to write binary construction and matching is now significantly faster than in earlier releases.在R12B版本中,构造和转载 2014-08-22 11:47:02 · 1157 阅读 · 0 评论 -
Erlang列表处理(Efficiency Guide)
List handling1 Creating a list创建一个列表Lists can only be built starting from the end and attaching list elements at the beginning. If you use the ++ operator like this列表只能从尾端开始创建,从头部加入元素转载 2014-08-22 11:45:51 · 662 阅读 · 0 评论 -
Erlang性能的八个误区(Efficiency Guide)
The Eight Myths of Erlang PerformanceErlang/OTP R15B021 Myth: Funs are slow Fun函数很慢(这里应该是指Module:Function(Arguments)这种形式的函数,其中M,F,A可以是变量类型,值不是固定的) Yes, funs used to be slow. Very sl转载 2014-08-22 11:52:20 · 3582 阅读 · 0 评论