[clean-list] newbie
Marc/Pop Poppleton
marc.poppleton@wanadoo.fr
Wed, 20 Dec 2000 11:22:59 +0100
Fabien Todescato wrote:
>This is an excerpt of the StdInt module with functions that operates bitwise
>on integers :
Ronny Wichers Schreur wrote:
>Small bit vectors you could represent with Ints, which are 32 bit. Use the
>bit functions in StdInt (bitand, bitor, etc) to implement your operations.
>Larger (fixed sized) bit vectors could be represented by an array of unboxed
>Ints ({#Int}). With a destructive update in this array you will get constant
>time for the set bit operation.
Thanks for the help!
Best regards,
Marc Poppleton