The
part:new extension takes an optional argument,
size, which must be a prime number. It specifies how large to make the table that stores the entities in the
part. This number does not limit the maximum number of entities that can be stored. However, if a
part has many more entities than this number, performance slows whenever your application has to look up the entities in Scheme. If the number is much larger than the number of entities referenced from Scheme, then more memory is used than is actually needed. The default
size is
DEFAULT_PART_SIZE, which is defined in the file
pmhusk/part_utl.hxx (value is 1009).
|