3.1 引用计数法(Reference Counting Collector) : P1 [2 X1 {# l1 a* E1 P 3 [9 V d5 F5 B* j# ^8 t
基于134个网页-相关网页
This is a Deferred Reference Counting (DRC) mechanism combined with an incremental, conservative mark/sweep collector.
它采用了一种延迟引用计数(Deferred Reference Counting,DRC)机制,并结合一个增量的、保守的标记/清除收集器。
InfoQ: MacRuby allows to AOT compile Ruby code - but is it possible to opt out of the Garbage Collector, ie. is there a way to just use Objective-C's reference counting memory management?
InfoQ: MacRuby允许使用AOT编译Ruby代码,那么,有没有可能不使用垃圾收集器,即能否仅仅使用Objective - c的引用计数内存管理?
Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。
应用推荐