System design: explicit refcounting
Posted: Fri Apr 27, 2012 5:08 pm
Hi!
My question is mostly to developers.
Is the current scheme with explicit retain-release a strict design solution and won't be changed?
I mean, do pull requests with code tending to use value semantics need to be rewritten to on-heap object management?
In particular, I'm currently writing enhancement for thread module, and I've mostly redone Variant type to use as little allocations as possible, making it effectively a value type. And I tend to re-do all places where variant is used in the same way.
So my main question is, are such changes potentially acceptable?
Thanks!
My question is mostly to developers.
Is the current scheme with explicit retain-release a strict design solution and won't be changed?
I mean, do pull requests with code tending to use value semantics need to be rewritten to on-heap object management?
In particular, I'm currently writing enhancement for thread module, and I've mostly redone Variant type to use as little allocations as possible, making it effectively a value type. And I tend to re-do all places where variant is used in the same way.
So my main question is, are such changes potentially acceptable?
Thanks!