> Refs mean indirection, expensive heap allocation and deallocation, and does 
> not benefit much from cache

But is it slow actually? Isn't Java works that way - everything except of 
primitive types like int is ref?

And Java is fast. Yes Java may be slower compared to C in benchmark numbers. 
But for any practical case - Java performance will be more than enough for most 
cases.

So how could you call that slow?

Reply via email to