On 2020-11-16 20:36 +0100, Marc Nieper-Wißkirchen wrote:
> Yes, a bit vector representation seems like the best solution, and
> fast syntax-case macros so that implementers can just copy the sample
> implementations and their users don't have to worry about performance.
Looks good to me. This will take a little more time to implement and
I've opted to use integer bitmaps rather than bitvectors in the sample
implementation, to avoid the (rather large) SRFI 178 dependency. This
should be extremely efficient for small sets, which probably describes
99% of the use-cases for enum-sets.
The remaining question: Shall we use syntax-case in the sample
Wolfgang Corcoran-Mathe <firstname.lastname@example.org>
"Computer science is no more about computers than astronomy is
about telescopes." --pseudo-Dijkstra