SmartSet represents an unordered collection of elements that are not duplicated.
SmartSet can operate in two modes
- self optimizeGrowth, whereas its values are backed up by a conventional Set - self optimizeMemory, whereas its values are backed up by an Array
Other than Set, an attempt to add a duplicate element signals an Error.
AA
On 22 Nov 2007, at 21:32 , Stéphane Ducasse wrote:
Does it make sense to implement and use UniqueOrderedCollection or UniqueArray?