3 ms·
How would you use the refcount?
by saagarjha 7y ago
How would you use the refcount?
- billziss 7y agoI use the refcount to avoid copying the string when passing it around. I just refcount it instead. To clarify this is part of a larger library that includes other memory management machinery, such as autorelease pools, etc.