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
  • 900
  • 12
  • 16

1 Answers1

0

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

Read more about it on LLVM.org

Nick
  • 2,271
  • 14
  • 25