Skip to content

Generalise shifts used in remove/add to work with multiple bits at a time#8

Merged
Abductcows merged 4 commits into
devfrom
generalise-shifts
Apr 26, 2021
Merged

Generalise shifts used in remove/add to work with multiple bits at a time#8
Abductcows merged 4 commits into
devfrom
generalise-shifts

Conversation

@Abductcows

Copy link
Copy Markdown
Owner

These methods will be useful for implementing more efficient versions of AbstractList defaults

And a few test improvements

George Bouroutzoglou added 4 commits April 27, 2021 00:46
This will be useful for inserting multiple elements at once when overriding default AbstractList methods.
it now checks every element when it is removed (as it should)
Similarly to insertInLong it now works with any number of bits (<= BITS_PER_LONG) instead of one. Will be useful in removeRange for sure
@Abductcows Abductcows merged commit a4b59ca into dev Apr 26, 2021
@Abductcows Abductcows deleted the generalise-shifts branch April 26, 2021 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant