[Openmcl-devel] Strange pause printing an already-created huge hash table.

Gail Zacharias gz at clozure.com
Wed Dec 21 21:03:00 UTC 2011


It's computing hash-table-count so it can print it.  It's not a good thing
it takes that long, but it's not unexpected with the current
implementation.  In any case, nothing's wrong with your system.

On Wed, Dec 21, 2011 at 3:41 PM, Kalman Reti <kalman.reti at gmail.com> wrote:

> This is in ccl 1.7-r14925M under windows-7 64bit; I created a hash table
> using
>
> (make-hash-table :test'equalp :size 350000000)
>
> and it printed
>
> #<HASH-TABLE
>
> and paused for a LONG time, i.e. many tens of seconds, before printing
> out the rest.
>
> :TEST EQUALP size 0/350000000 #x210057821D>
>
> (*print-array* and *print-structure* were both NIL, in case that
> matters). This hash
> table was the value of a variable, and just printing out the variable
> again exhibited the
> ame behavior.
>
> Is this normal?
>
> I'm trying to decide if the pause is something wrong with CCL or
> something wrong with
> my system...
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20111221/764fefaf/attachment.html>


More information about the Openmcl-devel mailing list