Using Methods to Dynamically Tune Collections at Run Time
JADE provides methods that enable you to dynamically specify the block size and load factor for individual collection instances at run time, as follows.
-
The Collection class setBlockSize method enables you to specify or change the block size of the receiver.
-
The Btree class setLoadFactor method enables you modify the default load factor for a Btree-based collection (that is, for sets and dictionaries).
These methods provide maximum flexibility and support runtime tailoring based on expected volumes. For details, see Chapter 1 of the JADE Encyclopaedia of Classes.