3 ms·
This is true for languages where most objects are not garbage-collected. In Java (modern days) this would add a level of indirection.
by lostmsu 5y ago
This is true for languages where most objects are not garbage-collected. In Java (modern days) this would add a level of indirection.
- kaba0 5y agoWhich may be in certain cases trivially optimizable. Eg. an object available only inside a class can have its method calls inlined into the containing class’s methods. (But I’m no JVM developer (unfortunately) so I’m not sure whether this exact optimization exists or not)