File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ title: Bitsets
1111The ` stdlib_bitsets ` module implements bitset types. A bitset is a
1212compact representation of a sequence of ` bits ` binary values. It can
1313equivalently be considered as a sequence of logical values or as a
14- subset of the integers 0 ... ` bits-1 ` . The bits are indexed from 0 to
15- ` bits(bitset)-1 ` . A bitset is used when space savings are critical in
16- applications that require a large number
17- of closely related logical values.
14+ subset of the integers 0 ... ` bits-1 ` . For example, the value ` 1110 `
15+ can be considered as defining the subset of integers [ 1, 2, 3] .
16+ The bits are indexed from 0 to ` bits(bitset)-1 ` .
17+ A bitset is used when space savings are critical in applications
18+ that require a large number of closely related logical values.
1819It may also improve performance by reducing memory traffic. To
1920implement bitsets the module
2021defines three bitset types, multiple constants, a character string
You can’t perform that action at this time.
0 commit comments