From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.bugs Subject: bug#6851: Documentation: `make-hash-table' "add that many space" Date: Sat, 14 Aug 2010 00:52:02 -0400 Message-ID: References: <87vd7eyqld.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1281762558 7541 80.91.229.12 (14 Aug 2010 05:09:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Aug 2010 05:09:18 +0000 (UTC) Cc: 6851@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 14 07:09:06 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok8zJ-0005p4-6k for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Aug 2010 07:09:02 +0200 Original-Received: from localhost ([127.0.0.1]:36758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ok8zB-0007ya-3a for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Aug 2010 01:08:49 -0400 Original-Received: from [140.186.70.92] (port=57659 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ok8z4-0007xt-P6 for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2010 01:08:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ok8z2-0003cP-VE for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2010 01:08:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50510) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok8z2-0003cK-Se for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2010 01:08:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ok8iw-0000cy-MD; Sat, 14 Aug 2010 00:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: MON KEY Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Aug 2010 04:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6851-submit@debbugs.gnu.org id=B6851.12817614722405 (code B ref 6851); Sat, 14 Aug 2010 04:52:02 +0000 Original-Received: (at 6851) by debbugs.gnu.org; 14 Aug 2010 04:51:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok8i8-0000ck-54 for submit@debbugs.gnu.org; Sat, 14 Aug 2010 00:51:12 -0400 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok8i6-0000cf-4I for 6851@debbugs.gnu.org; Sat, 14 Aug 2010 00:51:10 -0400 Original-Received: by wyb40 with SMTP id 40so3337062wyb.3 for <6851@debbugs.gnu.org>; Fri, 13 Aug 2010 21:52:03 -0700 (PDT) Original-Received: by 10.227.156.213 with SMTP id y21mr1092298wbw.110.1281761522926; Fri, 13 Aug 2010 21:52:02 -0700 (PDT) Original-Received: by 10.216.65.140 with HTTP; Fri, 13 Aug 2010 21:52:02 -0700 (PDT) In-Reply-To: <87vd7eyqld.fsf@stupidchicken.com> X-Google-Sender-Auth: Xg5ext0iNYOsbPdQGOqwtbzLxs8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 14 Aug 2010 00:52:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39472 Archived-At: On Fri, Aug 13, 2010 at 8:39 PM, Chong Yidong wrote: > Thanks. I checked in a fix. The "number of spaces" is the nominal size > of the hash table, defined in the preceding part of the docstring. > Yes. My point is was that "space" is a loaded term, esp. w/re hashes. Also, I noticed this: ,---- | | {...} | | :rehash-threshold THRESHOLD -- THRESHOLD must a float > 0, and <= 1.0. | Resize the hash table when the ratio (number of entries / table size) | is greater or equal than THRESHOLD. Default is 0.8. | | {...} | `---- "is greater or equal than THRESHOLD. Default is 0.8." ^^^^^^^^^^^^^^^^^^^^^ Maybe better as: "is greater than or equal to THRESHOLD. Default is 0.8." Appears through Bzr-101073 -- /s_P\