diff options
author | Guilherme Andrade <[email protected]> | 2017-04-22 18:46:16 +0100 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2017-04-22 18:46:16 +0100 |
commit | d810cd2b1ce642703d4986ba26ba50fd7949fcab (patch) | |
tree | a9ceb06177b1954cce05683081b7d065742194ef /erts | |
parent | c94506ccc003016db49fa2dbe5741196e071d45a (diff) | |
download | otp-d810cd2b1ce642703d4986ba26ba50fd7949fcab.tar.gz otp-d810cd2b1ce642703d4986ba26ba50fd7949fcab.tar.bz2 otp-d810cd2b1ce642703d4986ba26ba50fd7949fcab.zip |
erts: Improve enif_hash documentation
Diffstat (limited to 'erts')
-rw-r--r-- | erts/doc/src/erl_nif.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 03c96dd3ca..5faf1a05fc 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -821,8 +821,8 @@ typedef enum { <taglist> <tag><c>ERL_NIF_INTERNAL_HASH</c></tag> <item> - <p>Non-portable hash function that gives different hashes for the same Erlang - term depending on machine architecture and ERTS version.</p> + <p>Non-portable hash function that only guarantees the same hash + for the same term within one Erlang VM instance.</p> <p>Generated hash values within <c>0..2^32-1</c>.</p> </item> <tag><c>ERL_NIF_PHASH2</c></tag> @@ -831,8 +831,7 @@ typedef enum { same Erlang term regardless of machine architecture and ERTS version.</p> <p>Generated hash values within <c>0..2^27-1</c>.</p> <p>Slower than <c>ERL_NIF_INTERNAL_HASH.</c> - When used with <c>salt=0</c>, - it corresponds to + When used with <c>salt=0</c>, it corresponds to <seealso marker="erlang#phash2-1"><c>erlang:phash2/1</c></seealso>.</p> </item> </taglist> |