iphone - using NSInteger in a loop -


do nsinteger occupies memory? should use in loop?

look @ apple documentation, nsinteger :

#if __lp64__ || target_os_embedded || target_os_iphone || target_os_win32 || ns_build_32_like_64 typedef long nsinteger; #else typedef int nsinteger; #endif 

it's 4 bytes on iphone, int, don't have worry memory.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -