Click or drag to resize

EwahCompressedBitArrayShrink Method

Sets the internal buffer to the minimum possible size required to contain the current bitarray. This method is useful when dealing with static bitmasks, if it is called after the final bit has been set, some memory can be free-ed. Please note, the next bit set after a call to shrink will cause the memory usage of the bit-array to double.

Namespace:  VelocityDBExtensions.CompressedBitArray
Assembly:  VelocityDBExtensions (in VelocityDBExtensions.dll) Version: (11.1.0)
public void Shrink()
See Also