diff options
author | Guilherme Andrade <[email protected]> | 2017-04-24 22:51:49 +0100 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2017-04-24 22:51:49 +0100 |
commit | 3d6b8e7fb68543713f1620a45b8a590ef4ed88a5 (patch) | |
tree | 19aa3c6c0d405bd498671708886919730e5d69c9 /erts/doc | |
parent | da9abd24a93ae8fe174cdd38fc9699bbc45fdf56 (diff) | |
download | otp-3d6b8e7fb68543713f1620a45b8a590ef4ed88a5.tar.gz otp-3d6b8e7fb68543713f1620a45b8a590ef4ed88a5.tar.bz2 otp-3d6b8e7fb68543713f1620a45b8a590ef4ed88a5.zip |
erts: Discontinue salted use of enif_hash/phash2
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erl_nif.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 534c90cbdc..05b519fe7d 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -829,10 +829,10 @@ typedef enum { <item> <p>Portable hash function that gives the same hash for the same Erlang term regardless of machine architecture and ERTS version.</p> - <p>It takes 32-bit salt values and generates hashes within <c>0..2^27-1</c>.</p> + <p><em>It ignores salt values</em> and generates hashes 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 - <seealso marker="erlang#phash2-1"><c>erlang:phash2/1</c></seealso>.</p> + It corresponds to <seealso marker="erlang#phash2-1"><c>erlang:phash2/1</c></seealso>. + </p> </item> </taglist> </item> @@ -1418,7 +1418,7 @@ typedef enum { <desc> <p>Hashes <c>term</c> according to the specified <seealso marker="#ErlNifHash"><c>ErlNifHash</c></seealso> <c>type</c>.</p> - <p>Ranges of taken salt and returned value depend on the hash type.</p> + <p>Ranges of taken salt (if any) and returned value depend on the hash type.</p> </desc> </func> |