diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-08-01 14:39:33 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-01-25 11:56:28 +0100 |
commit | a198f78edcae91366cbd75df7539116ccb85adec (patch) | |
tree | 483f6abaf5bfa7344f122d247a34e0ea0d3d03d4 /erts/doc/src/erlang.xml | |
parent | c5d9b970fb5b3a7143ec8bb2e8194514b5b04e25 (diff) | |
download | otp-a198f78edcae91366cbd75df7539116ccb85adec.tar.gz otp-a198f78edcae91366cbd75df7539116ccb85adec.tar.bz2 otp-a198f78edcae91366cbd75df7539116ccb85adec.zip |
erts: Remove erlang:hash/2 from documentation
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r-- | erts/doc/src/erlang.xml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 7815bfa510..2859f22bf4 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -1955,26 +1955,6 @@ os_prompt%</pre> </func> <func> - <name name="hash" arity="2"/> - <fsummary>Hash function (deprecated).</fsummary> - <desc> - <p>Returns a hash value for <c><anno>Term</anno></c> within the range - <c>1..<anno>Range</anno></c>. The maximum range is 1..2^27-1.</p> - <warning> - <p><em>This BIF is deprecated, as the hash value can differ on - different architectures.</em> The hash values for integer - terms > 2^27 and large binaries are - poor. The BIF is retained for backward compatibility - reasons (it can have been used to hash records into a file), - but all new code is to use one of the BIFs - <seealso marker="#phash/2"><c>erlang:phash/2</c></seealso> or - <seealso marker="#phash2/1"><c>erlang:phash2/1,2</c></seealso> - instead.</p> - </warning> - </desc> - </func> - - <func> <name name="hd" arity="1"/> <fsummary>Head of a list.</fsummary> <desc> @@ -3818,9 +3798,6 @@ RealSystem = system + MissedSystem</code> <c><anno>Term</anno></c> within the range <c>1..<anno>Range</anno></c>. The maximum value for <c><anno>Range</anno></c> is 2^32.</p> - <p>This BIF can be used instead of the old deprecated BIF - <c>erlang:hash/2</c>, as it calculates better hashes for - all data types, but consider using <c>phash2/1,2</c> instead.</p> </desc> </func> |