aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/efficiency_guide
AgeCommit message (Collapse)Author
2011-01-18Lower the maximum arity from 256 to 255Björn Gustavsson
Historically, for no good reason, a function is allowed to have from 0 to 256 arguments. Thus, the number of arguments *almost* fits into a byte. HiPE only supports up to 255 arguments (because it assumes that the function arity fits into a single byte), and fixing that limitation would require ugly special-case handling. In Dialyzer, the arity type is defined to be a byte (i.e. 0..255). Since no-one uses functions with 256 arguments anyway, lower the limit to 255.
2010-04-28OTP-8474 NIF improvements after R13B04Sverker Eriksson
New NIF API function enif_make_new_binary
2010-03-15Merge branch 'bg/efficiency-guide' into devErlang/OTP
* bg/efficiency-guide: Efficiency Guide: Recommend external funs over tuple funs Efficiency Guide: The maximum number of atoms can be configured Efficiency Guide: Fix typos OTP-8515 bg/efficiency-guide
2010-02-28Efficiency Guide: Recommend external funs over tuple funsBjörn Gustavsson
2010-02-28Efficiency Guide: The maximum number of atoms can be configuredBjörn Gustavsson
2010-02-28Efficiency Guide: Fix typosBjörn Gustavsson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP