Nicolas Bertrand
Nicolas Bertrand
@motlin >And if you don't mind me asking, I'm curious which AI tools you used for this PR. The code doesn't look AI generated, but the PR description looks like...
Problem is : in theory it is. In practice, as I use FastList to avoid copying the array, I'd have to override all methods where iteration is done internally with...
>My thought about ImmutableInPlaceArrayAdapter is that it's pretty specific. I tried my hand at implementing it to show what that could look like : https://github.com/eclipse-collections/eclipse-collections/compare/master...tampix:eclipse-collections:navigableset2 I kept it very straightforward...
As a side note, I digged a bit into implementing that feature. Both EnumSet and EnumMap cache the shared underlying array of the enum for both performance and memory reasons...
@motlin I was pretty busy so I almost forgot I had this ticket pending. I just started a PoC to implement that feature : https://github.com/tampix/eclipse-collections/commit/bf6206971b23ed0a7ed9feab547cbe0066ee003d#diff-df8ee2f2ad9cc4c2fca5852e9b3b1aeeb8d3525056e640ae5968c12aaf4ced40 One questionable choice I made...