A simple circular set to ensure we don't duplicate GUIDs in the same millisecond. More...
Public Member Functions | |
def | __init__ (self) |
def | add (self, val) |
Public Attributes | |
queue | |
queue_map | |
queueindex | |
A simple circular set to ensure we don't duplicate GUIDs in the same millisecond.
A circular set. A set that maxes at a given size, replacing the oldest element after maximum size. This implementation is NOT thread safe. (generate() below is thread safe, though)
def pyclearsilver.guid.CircularSet.add | ( | self, | |
val | |||
) |