Test cases
Test #1 Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [~~(bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Test #2 Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [0 | (bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [Math .floor (bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [Math .trunc (bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * const floor = Math .floor
for (const bitidx of NUMBERS ) {
BITSET [floor (bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * const trunc = Math .trunc
for (const bitidx of NUMBERS ) {
BITSET [trunc (bitidx / 32 )] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [bitidx >>> 5 ] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [bitidx >> 5 ] ^= 1 << (bitidx % 32 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [~~(bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [0 | (bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [Math .floor (bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [Math .trunc (bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * const floor = Math .floor
for (const bitidx of NUMBERS ) {
BITSET [floor (bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * const trunc = Math .trunc
for (const bitidx of NUMBERS ) {
BITSET [trunc (bitidx / 32 )] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [bitidx >>> 5 ] ^= 1 << (bitidx & 31 )
}
Title *
Async
Code * for (const bitidx of NUMBERS ) {
BITSET [bitidx >> 5 ] ^= 1 << (bitidx & 31 )
}