3 ms·
From what I've heard - COW means each string data may be pointed to by multiple objects, potentially being used by different threads. So every string operation
by yongjik 7y ago
From what I've heard - COW means each string data may be pointed to by multiple objects, potentially being used by different threads. So every string operation requires thread synchronization, which can be quite expensive.