Reference counting is a mechanism whereby a computer language keeps track of when you create and then no longer need an object or data structure, in order to free unneeded memory.
What are the advantages and disadvantages of using the new automatic reference counting (ARC) memory management style in an iOS …
iphone ios ios5 automatic-ref-counting reference-countingI have looked in the official documentation for python, but i cannot seem to find what a reference cycle is. …
python garbage-collection reference-counting cyclic-referenceI want to make my avl-tree support duplicate keys but there is a problem with the default behavior of the …
binary-tree binary-search-tree avl-tree reference-countingWhen using reference counting, what are possible solutions/techniques to deal with circular references? The most well-known solution is using …
reference-counting circular-referenceCurrently ive got some reference counted classes using the following: class RefCounted { public: void IncRef() { ++refCnt; } void DecRef() { if(!--refCnt)…
c++ multithreading reference-countingI'm trying to understand exactly how thread-safe, atomic reference counting works, for example as with std::shared_ptr. I mean, …
c++ multithreading c++11 atomic reference-countingI'm attempting to share an image, that is only being used read-only, across threads. Typically I do this sort of …
opencv thread-safety atomic reference-countingshared_ptr is a reference counting smart pointer in the Boost library. The problem with reference counting is that it …
c++ garbage-collection shared-ptr reference-countingWhy should Py_INCREF(Py_None) be required before returning Py_None in C as follows? Py_INCREF(Py_None); …
python c reference-countingI've been evaluating various smart pointer implementations (wow, there are a LOT out there) and it seems to me that …
c++ smart-pointers c++03 raii reference-counting