News for hackers. Stuff that matters.
Re:Java record pattern matching in JDK 19 by jstimpfle on Sunday May 15, 2022 @05:49AM (#31386466)
I said it felt (to me) "bulky but solid kinda like a BMW car" which I think is a fair criticism and also a statement of respect, so what you tripped you up?

And that statement was not about the allocation time. But my understanding is that deallocation (GC) is not amortizable to constant for long-lived objects.

We can probably agree that having to code a separate class (with object overhead) to represent each little tuple of 2 integers or so, is bulky - programming-wise but also concerning the memory overhead (and possibly GC overhead).

Programming in C does not imply using malloc() to allocate individual objects. This is a bad practice.

There are no comments on this comment yet.