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 · 791 阅读 · 0 评论 -
Erlang 函数(Efficiency Guide)
Functions 1 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 · 682 阅读 · 0 评论 -
Erlang构建和匹配二进制数据(Efficiency Guide)
Constructing and matching binaries Erlang/OTP R15B02 In 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 · 1231 阅读 · 0 评论 -
Erlang列表处理(Efficiency Guide)
List handling 1 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 · 725 阅读 · 0 评论 -
Erlang性能的八个误区(Efficiency Guide)
The Eight Myths of Erlang Performance Erlang/OTP R15B02 1 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 · 3740 阅读 · 0 评论
分享