<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Perfect_hash_function</id>
	<title>Perfect hash function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Perfect_hash_function"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Perfect_hash_function&amp;action=history"/>
	<updated>2026-05-15T09:02:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Perfect_hash_function&amp;diff=2465&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;The best currently known minimal perfect hashing schemes can be represented using less than 2.1 bits per key if given enough time.  ===Order preservation=== A minimal perfect...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Perfect_hash_function&amp;diff=2465&amp;oldid=prev"/>
		<updated>2019-03-23T07:34:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The best currently known minimal perfect hashing schemes can be represented using less than 2.1 bits per key if given enough time.  ===Order preservation=== A minimal perfect...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The best currently known minimal perfect hashing schemes can be represented using less than 2.1 bits per key if given enough time.&lt;br /&gt;
&lt;br /&gt;
===Order preservation===&lt;br /&gt;
A minimal perfect hash function is ''order preserving'' if keys are given in some order and for any keys and , implies . In this case, the function value is just the position of each key in the sorted ordering of all of the keys. A simple implementation of order-preserving minimal perfect hash functions with constant access time is to use an (ordinary) perfect hash function or [[cuckoo hashing]] to store a lookup table of the positions of each key. If the keys to be hashed are themselves stored in a sorted array, it is possible to store a small number of additional bits per key in a data structure that can be used to compute hash values quickly. Order-preserving minimal perfect hash functions require necessarily bits to be represented.&lt;br /&gt;
&lt;br /&gt;
==Related constructions==&lt;br /&gt;
A simple alternative to perfect hashing, which also allows dynamic updates, is [[cuckoo hashing]]. This scheme maps keys to two or more locations within a range (unlike perfect hashing which maps each key to a single location) but does so in such a way that the keys can be assigned one-to-one to locations to which they have been mapped. Lookups with this scheme are slower, because multiple locations must be checked, but nevertheless take constant worst-case time.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
[http://wikipedia.org/ http://wikipedia.org/]&lt;br /&gt;
&lt;br /&gt;
[[Category:Cryptography]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>