Hi Eliot,

2016-07-30 7:48 GMT+02:00 Eliot Miranda <eliot.miranda@gmail.com>:
    the difference us because basicNew[:] are implemented with machine code primitives whereas shallowCopy is an interpreter primitive and machine code primitives are much faster to invoke.  I could add a machine code shallowCopy primitive that would handle common cases and exclude the complex ones (CompiledMethod and Context, because they contain hidden JIT state that must not be copied).  How important is shallowCopy performance to you?

I would not say that it is too much critical but it could improve some prototype based frameworks where objects are created by cloning.

What you expect from optimized version performance? Will it be faster than #basicNew?