Sebastiano Vigna
Sebastiano Vigna
If I understand correcty, we have here two type of methods: more efficient implementations of existing interface methods, and some completely new methods (`*_PRIMITIVE`) that are not present in the...
I think it should be easy to lift those method to default interface implementations no?
The rationale here is that probably the methods are fine and there is no need to include hundreds of functions to make them align with the strategy used elsewhere, but...
Did I miss something?
Presently you can have a subclass that exposes a method using rehash(), exactly like ensureCapacity() does. putAll() will also try to increase capacity, so you should that for batch insertion....
But, the trees are threaded. The iterator uses threads. I think you are referring to a recursive visiting iterator. Am I wrong?
Mmmmhhhh... it seems a pretty trivial recurive subdivision. Am I missing something?
I'll have a look. But this is something to be done in the long run.
Mmmmhhh... I think there are a lot of those. Like, the various .of() methods which optimize for an empty set, a singleton, etc.
Yeah, I thought about that. We can have an immutable empty list exposed directly by ImmutableList. I'm writing that.