From: Martin J. <mar...@em...> - 2004-04-14 16:36:35
|
Hi, I am sometimes missing a function that returns the size of a hash table: 1. length of the underlying array 2. number of elements. let length tbl = Array.length tbl.data let size tbl = tbl.size The purpose of the length function is to return a good guess for the size of a table that we want to fill with more or less the same number of elements than an existing table. Did I miss anything? Martin |