NSNumber

From GNUstepWiki
Jump to navigation Jump to search

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.