> So how could you call that slow?

So why do you intend to use Nim at all -- when you do not like the fact that 
Nim have value and ref objects?

Araq told you once that Go makes this distinction too. Both types have 
advantages and disadvantages. For one case a copy of a value type may make it 
slow, for other cases the heap allocation and unfriendly cache usage may make 
it slow.

I think Java has some magic -- I know that Java can be fast in some benchmarks 
-- but do we really know what happens internally?

So don't care too much, use ref when you want to never think about it again.

Reply via email to