GNU bug report logs -
#6851
Documentation: `make-hash-table' "add that many space"
Previous Next
Reported by: MON KEY <monkey <at> sandpframing.com>
Date: Fri, 13 Aug 2010 18:19:02 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6851 in the body.
You can then email your comments to 6851 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6851
; Package
emacs
.
(Fri, 13 Aug 2010 18:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
MON KEY <monkey <at> sandpframing.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 13 Aug 2010 18:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Documentation: `make-hash-table' "add that many space"
,---- (documentation 'make-hash-table)
|
| { ... }
|
| :rehash-size REHASH-SIZE - Indicates how to expand the table when it
| fills up. If REHASH-SIZE is an integer, add that many space. If it
| is a float, it must be > 1.0, and the new size is computed by
| multiplying the old size with that factor. Default is 1.5.
|
| { ... }
|
`----
Following sentence doesn't parse:
"If REHASH-SIZE is an integer, add that many space."
^^^^ ^^^^^
Even if what the author meant was:
"If REHASH-SIZE is an integer, add that much space."
it still won't yield a satisfactory parse b/c space isn't a term
specified elsewhere in the doc so it isn't clear which space is being
added to.
Problem current through Bzr-101071
--
/s_P\
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6851
; Package
emacs
.
(Sat, 14 Aug 2010 00:40:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 6851 <at> debbugs.gnu.org (full text, mbox):
MON KEY <monkey <at> sandpframing.com> writes:
> | :rehash-size REHASH-SIZE - Indicates how to expand the table when it
> | fills up. If REHASH-SIZE is an integer, add that many space. If it
> | is a float, it must be > 1.0, and the new size is computed by
> | multiplying the old size with that factor. Default is 1.5.
> Following sentence doesn't parse:
>
> "If REHASH-SIZE is an integer, add that many space."
> ^^^^ ^^^^^
> Even if what the author meant was:
>
> "If REHASH-SIZE is an integer, add that much space."
>
> it still won't yield a satisfactory parse b/c space isn't a term
> specified elsewhere in the doc so it isn't clear which space is being
> added to.
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.
bug closed, send any further explanations to MON KEY <monkey <at> sandpframing.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Sat, 14 Aug 2010 00:40:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6851
; Package
emacs
.
(Sat, 14 Aug 2010 04:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 6851 <at> debbugs.gnu.org (full text, mbox):
On Fri, Aug 13, 2010 at 8:39 PM, Chong Yidong <cyd <at> stupidchicken.com> 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\
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6851
; Package
emacs
.
(Sat, 14 Aug 2010 21:14:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 6851 <at> debbugs.gnu.org (full text, mbox):
MON KEY <monkey <at> sandpframing.com> writes:
> | :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.
> Maybe better as:
>
> "is greater than or equal to THRESHOLD. Default is 0.8."
Thanks, fixed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 12 Sep 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 363 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.