Bill Allombert on Sat, 22 Jan 2022 14:08:04 +0100


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

Re: Addressable bits buffer, how?


On Sat, Jan 22, 2022 at 01:37:53PM +0100, Ruud H.G. van Tol wrote:
> What are the ways to do raw bit buffer efficiently?

in GP, It is not quite possible, since there is no 'in place' operation,
but you can try to use Vecsmall() and vectorsmall()

In C you can use the function class F2v_ (F2v_coeff, F2v_set, F2_clear,
etc) for bits, and t_VECSMALL for word-size.

Cheers,
Bill.