Re: New draft (#4) and last call for comments on SRFI 209: Enumerations and Enum Sets Wolfgang Corcoran-Mathe (17 Nov 2020 18:25 UTC)

Re: New draft (#4) and last call for comments on SRFI 209: Enumerations and Enum Sets Wolfgang Corcoran-Mathe 17 Nov 2020 18:25 UTC

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
test sufficiently.

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
implementation?

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"Computer science is no more about computers than astronomy is
about telescopes." --pseudo-Dijkstra