diff options
author | Tuncer Ayaz <[email protected]> | 2011-01-27 11:49:57 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-03-25 14:40:51 +0100 |
commit | e2ad0e63077cc08c14edebae54925c50828cde3a (patch) | |
tree | 206c66a2a8112a891d92431c9cd7f907ac4d238d /system/doc/efficiency_guide/binaryhandling.xml | |
parent | b2f3b6b3b254015e0fd6540353b22ccb3df71bf7 (diff) | |
download | otp-e2ad0e63077cc08c14edebae54925c50828cde3a.tar.gz otp-e2ad0e63077cc08c14edebae54925c50828cde3a.tar.bz2 otp-e2ad0e63077cc08c14edebae54925c50828cde3a.zip |
Fix typos in efficiency guide
Diffstat (limited to 'system/doc/efficiency_guide/binaryhandling.xml')
-rw-r--r-- | system/doc/efficiency_guide/binaryhandling.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/doc/efficiency_guide/binaryhandling.xml b/system/doc/efficiency_guide/binaryhandling.xml index 3628d7a232..425d6308cf 100644 --- a/system/doc/efficiency_guide/binaryhandling.xml +++ b/system/doc/efficiency_guide/binaryhandling.xml @@ -114,7 +114,7 @@ my_binary_to_list(<<>>) -> [].]]></code> data. For each field that is matched out of a binary, the position in the match context will be incremented.</p> - <p>In R11B, a match context was only using during a binary matching + <p>In R11B, a match context was only used during a binary matching operation.</p> <p>In R12B, the compiler tries to avoid generating code that @@ -205,7 +205,7 @@ Bin4 = <<Bin1/binary,17>>, %% 5 !!! ProcBin for the binary. The reason is that the binary object can be moved (reallocated) during an append operation, and when that happens the pointer in the ProcBin must be updated. If there would be more than - on ProcBin pointing to the binary object, it would not be possible to + one ProcBin pointing to the binary object, it would not be possible to find and update all of them.</p> <p>Therefore, certain operations on a binary will mark it so that @@ -291,7 +291,7 @@ my_binary_to_list(<<>>) -> [].]]></code> that initializes the matching operation will basically do nothing when it sees that it was passed a match context instead of a binary.</p> - <p>When the end of the binary is reached and second clause matches, + <p>When the end of the binary is reached and the second clause matches, the match context will simply be discarded (removed in the next garbage collection, since there is no longer any reference to it).</p> |