summaryrefslogtreecommitdiff
path: root/slsets.scm
AgeCommit message (Collapse)Author
5 daysAdd slset-delete and slset-contains?Peter Bex
Not strictly needed, but could be helpful and completes the operations. Also, if we ever reimplement it using some other strategy, this might be more useful.
5 daysMake sure lset-adjoin removes markings on the adjoined elementsPeter Bex
Add a test to ensure this won't happen again.
5 daysDisable interruptsPeter Bex
Doesn't do that much, but it's a good idea for slsets as well because it makes it unlikely that plist changes are ever observed, because there's no thread switching.
5 daysInitial implementation of slsets eggPeter Bex
This implements sets of symbols *as lists*, like in the srfi-1 lset operations. It maintains the benefit of using lists for everything, but not having to pay the quadratic performance penalty that srfi-1 entails. We achieve this by using plist operations to "mark" items so we have to visit the list "set" only a fixed number of times.