From d810cd2b1ce642703d4986ba26ba50fd7949fcab Mon Sep 17 00:00:00 2001
From: Guilherme Andrade
Date: Sat, 22 Apr 2017 18:46:16 +0100
Subject: erts: Improve enif_hash documentation
---
erts/doc/src/erl_nif.xml | 7 +++----
1 file 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 {
ERL_NIF_INTERNAL_HASH
-
-
Non-portable hash function that gives different hashes for the same Erlang
- term depending on machine architecture and ERTS version.
+ Non-portable hash function that only guarantees the same hash
+ for the same term within one Erlang VM instance.
Generated hash values within 0..2^32-1.
ERL_NIF_PHASH2
@@ -831,8 +831,7 @@ typedef enum {
same Erlang term regardless of machine architecture and ERTS version.
Generated hash values within 0..2^27-1.
Slower than ERL_NIF_INTERNAL_HASH.
- When used with salt=0,
- it corresponds to
+ When used with salt=0, it corresponds to
erlang:phash2/1.
--
cgit v1.2.3