From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel Subject: Re: van Emde Boas hash. Date: Fri, 27 Nov 2009 09:14:51 +0000 (UTC) Message-ID: References: <27121364.4672141258632243452.JavaMail.www@wwinf4629> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259313402 31468 80.91.229.12 (27 Nov 2009 09:16:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 09:16:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 10:16:35 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDwwL-0005N0-Sk for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 10:16:34 +0100 Original-Received: from localhost ([127.0.0.1]:43218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwwK-0008Ph-RJ for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 04:16:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDwv3-0007zv-Ty for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:15:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDwuz-0007z8-0K for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:15:13 -0500 Original-Received: from [199.232.76.173] (port=42754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwuy-0007z0-Od for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:15:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:58877) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDwuy-000559-Em for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:15:08 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NDwuw-0004lO-6K for emacs-devel@gnu.org; Fri, 27 Nov 2009 10:15:06 +0100 Original-Received: from nat-240.ro.66.com ([91.201.80.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Nov 2009 10:15:06 +0100 Original-Received: from alinsoar by nat-240.ro.66.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Nov 2009 10:15:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 91.201.80.240 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117859 Archived-At: > I have no idea what it is, > > Stefan > > I see in elisp manual so: * Lookup in a hash table is extremely fast for large tables--in fact, the time required is essentially _independent_ of how many elements are stored in the table. For smaller tables (a few tens of elements) alists may still be faster because hash tables have a more-or-less constant overhead. What algorithm uses the hash of elisp ? It is faster than van Emde? I did look at the code, and I cannot understand the algorithm from `make-hash-table'.