- 466 名前:デフォルトの名無しさん [2012/01/01(日) 22:46:34.28 ]
- 一般論として、(1)よりもゾーンを使う(2)のほうが動作は速い?
速度が速くなるのは、インスタンスのメンバ変数を頻繁に呼び出す場合? (1)receivedData = [[NSMutableData alloc] init]; commentArray = [[NSMutableArray alloc] init]; (2)receivedData = [[NSMutableData allocWithZone:[self zone]] init]; commentArray = [[NSMutableArray allocWithZone:[self zone]] init];
|

|