reference-counting
Garbage collection in Flash Media Server
I have memory leak in my project and I wonder how garbage collector working in Flash Media Server. I have 2 questions:[详细]
2023-04-08 16:08 分类:问答Does WinRT have Garbage Collection?
Does Win开发者_运维知识库RT have Garbage Collection? Or does it do reference counting as does COM?I found this article, which cites Microsoft\'s Martyn Lovell:[详细]
2023-04-04 18:58 分类:问答Is assigning self.string = @"" on an @property that's (retain)'d proper?
A philosophical question, of sorts.Is it proper to assign a constant string to an @property that\'s (retained)?Or, should I do self.string = [NSString stringWithString:@\"\"];[详细]
2023-03-30 15:28 分类:问答is reference counting good design
We are working on an application container that uses reference counting as the mechanism to keep track of the requests received and responses sent. The reference count is used in allowing the graceful[详细]
2023-03-24 21:03 分类:问答How to force deletion of a python object?
I am curious about the details of __del__ in python, when and why it should be used and what it shouldn\'t be used for.I\'ve learned the hard way that it is not really like what one would naively expe[详细]
2023-03-22 08:17 分类:问答Why retain/release rather than new/delete?
I\'m newbie to objective-C, I feel comportable in C++. My question is: Why language designer of obj-c proper to use retain/release rather then use new/delete(=alloc/dealloc) only?[详细]
2023-03-15 21:37 分类:问答What automatically retains and releases?
I kind of understood what retains and releases automatically but I can\'t find any official data on this and I think I got something wrong.[详细]
2023-03-13 18:14 分类:问答Reference counting GC in languages with pointer arithmetic
I was wondering if it is possible to implement reference counting-based GC in languages which allow pointer arithmetic. For example (this is pseudo-C),[详细]
2023-03-11 00:27 分类:问答Xcode static analyzer and copyWithZone
The Xcode 4 static analy开发者_StackOverflow社区zer flags this method as a having an over-released return value when that does not seem to be the case.[详细]
2023-03-10 23:44 分类:问答Is STLPort's string implementation using reference counting?
Is STLPort i开发者_如何转开发mplemented string via reference counting mechanism?According to the source, no.[详细]
2023-03-06 15:02 分类:问答