Conversation
| */ | ||
| public static Array<Integer> distinct(IntStream values, int limit) { | ||
| final DistinctInts distinct = new DistinctInts(limit); | ||
| final int capacity = limit < it.unimi.dsi.fastutil.Arrays.MAX_ARRAY_SIZE ? limit : 1000; |
There was a problem hiding this comment.
Should we throw a new IllegalArgumentException here if limit > MAX_ARRAY_SIZE? I'm wondering if it'll be confusing users if we use a value that's different than what they passed in
|
@Zavster I'd love to see this PR make its way in after all the work that's been done on it already! :-) |
|
@Zavster any reason not to merge this? |
|
Hey Ben, I wanted to assess using Goldman Sachs collection as a possible alternative, but have been working on other parts of Morpheus lately. I will definitely adopt either GS collections or Fastutil, hopefully before year end. |
|
Any thoughts on this one? |
|
@Zavster think you might still merge this? |
|
Hey Ben, I am sitting out a non-compete which ends in early September. I will resume Morpheus development in anger then.... |
|
Good luck with the new gig! I've been contributing quite a bit to Tablesaw in the meantime. I'm not quite sure what it'd look like, but it'd be cool to join forces on the libraries somehow |
No description provided.