Unverified Commit c3935a34 authored by Liu Xiaoyi's avatar Liu Xiaoyi Committed by GitHub
Browse files

BitSetRange API (#2449)



* WIP: Add BitSetRange

* BitSetRange: various code format changes

* Try to fix scala random versioning

* Initial impl of BitSet.toRange, along with some helper method in BitSet

* BitPatRange: visibility and name changes:

* BitSetRange: tests

* BitSetRange: remove Random.between

* Move BitSetRange to BitSet.fromRange. Remove BitSetRange and toBitSetRanges

* Rename max_known_length -> MaxKnownLength in BitPat

* Apply suggestions from code review

Co-authored-by: default avatarJack Koenig <jack.koenig3@gmail.com>

* add api fromRange(start:  BigInt, length: BigInt)

Co-authored-by: default avatarJiuyang Liu <liu@jiuyang.me>
Co-authored-by: default avatarJack Koenig <jack.koenig3@gmail.com>
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent b24f09c7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment