3 ms·
and afaik, .net has record types unlike the jvm (yet) which means java is even worse
by agumonkey 5y ago
and afaik, .net has record types unlike the jvm (yet) which means java is even worse
- kaba0 5y agoI think you mean structs (value types. Will be called primitive types in Java). Records are not too interesting from a performance pov (and java has them, and I think they actually predate c#’s), though java will likely be able to optimize serialization/deserialization of records better.
- ternaryoperator 5y agoJava recently added record types.