deephaven.lang.ListBasedSet

Alternate set implementation favoring space over speed and not requiring the set elements to be hashable.

The contents of this module are intended only for internal Deephaven use and may change at any time.

class ListBasedSet(iterable=[])

Alternate set implementation favoring space over speed and not requiring the set elements to be hashable.

add(x)

Add an element.

discard(x)

Remove an element. Do not raise an exception if absent.