0

[NSDictionary dictionary] is the same that @{} in terms of memory usage?

Which one should I use?

This same logic applies to [NSArray array]/@[] or [NSString string]/@""?

Thanks!

7ynk3r
  • 958
  • 13
  • 17

1 Answers1

1

It does not matter which you use, they are effectively the same.

Read more about it on LLVM.org

Nick
  • 2,361
  • 16
  • 27