[plt-scheme] hash-table-length

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat May 29 09:24:29 EDT 2004

At Fri, 28 May 2004 21:24:22 -0400, Doug Orleans wrote:
> It would be nice to have a constant-time `hash-table-length' operation
> (returning the number of items in the table, not the number of
> buckets).  Is this something that's likely to be added, or should I
> just maintain my own count?

Yes, I can add that in v299. The count exists internally, and it seems
like any implementation could support this operation easily.


Posted on the users mailing list.