[m-dev.] For review: bitmap module.

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Feb 6 23:07:32 AEDT 2001


On 02-Feb-2001, Ralph Becket <rbeck at microsoft.com> wrote:
> > The module is quite similar to the `sparse_bitset' module.
> > It might make more sense to name this one `bitset' or `dense_bitset'
> > rather than `bitmap'.
> 
> Hmm, I'm not so sure.  `bitset' to me sounds like the domain {yes, no}.
> I think `sparse_bitset' is a misnomer since it's really an ADT for
> sparse int sets.

Well, sparse enum sets.

> I've called the intersection function `intersect' in line with
> the rest of the std library, although I prefer `intersection' - 
> `intersect' sounds too imperative to me.

I tend to agree, but I don't think it is worth changing now.

> > Use `%---...---%' rather than `% ---...--- %'.
> 
> Is this really important?  I can certainly do that, but I *like*
> the spaces.

Not particularly important, but it's just nice to be consistent.

Omitting the spaces has the advantage that mailers don't try
to wrap it at the spaces.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list