bug-gnulib
[Top][All Lists]
Advanced

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

Re: A new module: bitset


From: Paul Eggert
Subject: Re: A new module: bitset
Date: Sun, 25 Nov 2018 11:43:16 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Akim Demaille wrote:
I think it should move to gnulib: it's way more powerful than what
we use in Bison only.  Paul already reported he would be interested
in using this module in Emacs.

Yes, Emacs already has a bitset implementation for its boolean vectors. My vague recollection is that the Emacs code could benefit from using a Gnulib implementation, and that the new Gnulib bitset implementation would benefit from some of the ideas in the Emacs code.

One top-level question is how does memory allocation work? Emacs has its own memory allocator, and doesn't want to use plain malloc. It has its own xmalloc implementation; will that suffice?



reply via email to

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