Re:Libc++'s Implementation of std::string
by yongjik on Thursday January 30, 2020 @10:22PM
(#22198730)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.