bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bitset statistics


From: Michael Hayes
Subject: Re: Bitset statistics
Date: Sun, 03 Mar 2002 15:20:05 +1300

Akim Demaille writes:
 > I have finished (at home), spreading bitset into Bison.  I have a few
 > wishes: 
 > 
 > - int bitset_count: number of bits set.
 > - int bitset_disjoint_p (bitset, bitset): whether they have common
 >   bits.  (If different size, then die I guess).

OK, these are trivial to implement and are included in my new patch.
I've also changed the API for the bitset vectors so that the
number of vectors do not have to passed to every call.

I suppose the next thing to do is to write up the docs.  I've been
waiting for a response on the gcc mailing list but the "cone of
silence" seems to have descended...

Michael.

Attachment: bitset.patch.gz
Description: Bitset patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]