NSNumber

From GNUstepWiki

Revision as of 19:54, 21 July 2012; view current revision
←Older revision | Newer revision→

A container fromat for numeric interchange.

NSNumber is used in GNUStep frameworks to provide an abstraction for numbers until they must be used to call native APIs, at the expense of a minor performance hit. Operations requiring values to be computed in a tight loop should consider using primitive datatypes to avoid overhead.