Closed techsy730 closed 3 years ago
Mmmmhhh... I think I shouldn't have merged the other one, right?
Mmmmhhh... I think I shouldn't have merged the other one, right?
Nah, I need to update it anyways to use KEYS_USE_REFERENCE_EQUALITY
, so this is fine
Is this ready for merge?
Is this ready for merge?
Yeah, I'm content with it now.
Mmmh... testEquals_AnotherImmutableList() fails tho.
Strange, it passes on my machine.
OK, maybe there was some problem with the incremental build. I'll clean everything and start from scratch...
It's all OK—false alarm.
Add a fast
subList
forImmutableList
.Currently
ImmutableList.subList
doesn't return anImmutableList
itself due to the current implementation ofImmutableList
being closely tied to the idea the full array is the whole list. This may change in a future release. Fixes https://github.com/vigna/fastutil/issues/223Also applies some of the optimizations conceived for
ImmutableList.subList
toArrayList.subList