I wanted to know whether there are bitwise operators for Bitvector32 that operate in O(1) time. I am currently using BitArray of large sizes and using Bitwise And,Or and Not which operate in O(size of bitarray).
I searched the internet for this but could not find an answer. Hope people here can help!
Thus,
var vectorAnd = new BitVector32(vector1.Data & vector2.Data);
var vectorOr = new BitVector32(vector1.Data | vector2.Data);
var vectorNot = new BitVector32(~vector1.Data);
are all O(1) operations.