You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An optimization for std.bitmanip.BitArray: when BitArray.length <= (size_t.sizeof * 8), then BitArray.ptr stores the bit themselves (so ptr is in a union with a size_t).
If the array of bits is short, this saves a GC allocation, increasing performance and reducing the amount of memory used and garbage produced.
The text was updated successfully, but these errors were encountered:
bearophile_hugs reported this on 2012-02-12T11:59:28Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=7488
CC List
Description
The text was updated successfully, but these errors were encountered: