Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
DESCRIBE on packages outputs among other things the numbers of external
and internal symbols of the package. These are calculated incorrectly
if the corresponding symbol hash table of the package contains deleted
* (describe (find-package :sb-kernel))
#<PACKAGE "SB-KERNEL"> is a PACKAGE.
It has 1321 internal and 862 external symbols.
Compare this with:
* (let ((count 0))
(sb-impl::do-external-symbols (s (find-package :sb-kernel))
(declare (ignore s))
The reason is that DESCRIBE calculates the count from the hash table
slots as (- SIZE FREE) while (- SIZE FREE DELETED) is called for.
* (inspect (find-package :sb-kernel))
#<SB-IMPL::PACKAGE-HASHTABLE :SIZE 3897 :FREE 2576 :DELETED 14>
#<SB-IMPL::PACKAGE-HASHTABLE :SIZE 1079 :FREE 217 :DELETED 34>
Here is a patch to fix this:
On Sun, Nov 05, 2006 at 04:42:28PM +0100, Lutz Euler wrote:
> DESCRIBE on packages outputs among other things the numbers of external
> and internal symbols of the package. These are calculated incorrectly
> if the corresponding symbol hash table of the package contains deleted
> Here is a patch to fix this:
Thanks, committed as 0.9.18.37.
Nathan | From Man's effeminate slackness it begins. --Paradise Lost
The last good thing written in C was Franz Schubert's Symphony Number 9.