Difference between revisions of "NSNumber"

From GNUstepWiki
Jump to navigation Jump to search
m
 
(No difference)

Latest revision as of 19:54, 21 July 2012

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.