diff options
Diffstat (limited to 'lib/pure/collections/sets.nim')
-rwxr-xr-x | lib/pure/collections/sets.nim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/pure/collections/sets.nim b/lib/pure/collections/sets.nim index 00056ff14..5f4b5a530 100755 --- a/lib/pure/collections/sets.nim +++ b/lib/pure/collections/sets.nim @@ -10,17 +10,12 @@ ## The ``sets`` module implements an efficient hash set and ordered hash set. ## ## **Note**: The data types declared here have *value semantics*: This means -## that ``=`` performs a copy of the hash table. If you are overly concerned -## with efficiency and know what you do (!), you can define the symbol -## ``shallowADT`` to compile a version that uses shallow copies instead. +## that ``=`` performs a copy of the set. import os, hashes, math -when defined(shallowADT): - {.pragma: myShallow, shallow.} -else: - {.pragma: myShallow.} +{.pragma: myShallow.} type TSlotEnum = enum seEmpty, seFilled, seDeleted |