Sebastiano Vigna

Results 259 comments of Sebastiano Vigna

Good point. I'd follow the JCF and put in in Map. But what concrete class do you intend to return, an Open2OpenHashMap in an unmodifiable wrapper?

Well, if it's immutable and holds at most 10 entries I think an ArrayMap is perfectly fine. It could even be the case of creating an ImmutableArrayMap, but that would...

Oh you're right. Map.of has at most 10 elements, but Map.ofEntries has variable length. Yes, you could to ArrayMap up to, say, 8 elements, and, an OpenHashMap otherwise.

Yes, MapTest sounds right. Like Int2IntMapTest and Object2ObjectMapTest should be enough. Please double check that I didn't put in Maps stuff that in Java is in Map... Or we might...

No, it shouldn't. Did you `make -s sources` first?

Oh yeah that's just "silent" to avoid the mess. Platform? OS?

That scripting part is for UN*X variants. That's a WSL issue, I'm sorry but I can't help you...

It might be a problem with different treatment of soft links, as the .drv files of non-plain hash maps are just soft links to the real ones.

The problem is checking that it works everywhere.

Sigh. These things remember me why it felt so good switching to Rust. 😂