During class copying, it's likely that many copies of the same string will be made, for example the names of properties and inherited methods.
We can avoid this by putting interned strings into PTHREADS_ZG(resolve), allowing strings with the same origin pointer to reuse the same destination string. This will both improve performance and reduce memory usage.
During class copying, it's likely that many copies of the same string will be made, for example the names of properties and inherited methods. We can avoid this by putting interned strings into
PTHREADS_ZG(resolve)
, allowing strings with the same origin pointer to reuse the same destination string. This will both improve performance and reduce memory usage.