Big O notation in Apple docs

by Arnold Burian

Check out Big O notation in Apple docs by JR. Here is an excerpt:

 The -bytes method returns a pointer to a contiguous region of memory managed by the receiver.
 If the regions of memory represented by the receiver are already contiguous, it does so in O(1) time, otherwise it may take longer
 Using -enumerateByteRangesUsingBlock: will be efficient for...

The full article is available here.

You may also like

This website uses cookies to improve your experience. Accept Read More