diff options
author | Björn Gustavsson <[email protected]> | 2017-01-10 13:54:08 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-01-10 13:54:08 +0100 |
commit | 184b2627f8908c8e6af033991ee831c3fb2f9f82 (patch) | |
tree | e7f09538608d9c4b6790250926ca27e02f2fb4a7 /system/doc/efficiency_guide/commoncaveats.xml | |
parent | 0264d301de02c5dd7b2a9a389294ea4a36127046 (diff) | |
download | otp-184b2627f8908c8e6af033991ee831c3fb2f9f82.tar.gz otp-184b2627f8908c8e6af033991ee831c3fb2f9f82.tar.bz2 otp-184b2627f8908c8e6af033991ee831c3fb2f9f82.zip |
Don't call byte_size/1 and tuple_size/1 "new"
Diffstat (limited to 'system/doc/efficiency_guide/commoncaveats.xml')
-rw-r--r-- | system/doc/efficiency_guide/commoncaveats.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/doc/efficiency_guide/commoncaveats.xml b/system/doc/efficiency_guide/commoncaveats.xml index ecfeff0349..94b1c0b222 100644 --- a/system/doc/efficiency_guide/commoncaveats.xml +++ b/system/doc/efficiency_guide/commoncaveats.xml @@ -148,10 +148,10 @@ multiple_setelement(T0) -> <p><c>size/1</c> returns the size for both tuples and binaries.</p> - <p>Using the new BIFs <c>tuple_size/1</c> and <c>byte_size/1</c>, introduced - in R12B, gives the compiler and the runtime system more opportunities for - optimization. Another advantage is that the new BIFs can help Dialyzer to - find more bugs in your program.</p> + <p>Using the BIFs <c>tuple_size/1</c> and <c>byte_size/1</c> + gives the compiler and the runtime system more opportunities for + optimization. Another advantage is that the BIFs give Dialyzer more + type information.</p> </section> <section> |