All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.lib.remap-bitfield.js Maven / Gradle / Ivy

There is a newer version: 3.4.15
Show newest version
// @ts-check

/**
 * We must remap all the old bits to new bits for each set variant
 * Only arbitrary variants are considered as those are the only
 * ones that need to be re-sorted at this time
 *
 * An iterated process that removes and sets individual bits simultaneously
 * will not work because we may have a new bit that is also a later old bit
 * This means that we would be removing a previously set bit which we don't
 * want to do
 *
 * For example (assume `bN` = `1<




© 2015 - 2024 Weber Informatics LLC | Privacy Policy