According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs
which can be inserted into the container. That is, it's not an *initial*
capacity.
I think that was a mistake in the docs. The comment in CFDictionary.h in the
Is it possible to set the initial capacity (preparing for an initial number of
key-value pairs) of a CFMutableDictionary?
According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs which
can be inserted into the container.
On Jul 20, 2011, at 2:34 PM, Andreas Grosam wrote:
According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs
which can be inserted into the container. That is, it's not an *initial*
capacity.
I think that was a mistake
Le 21 juil. 2011 à 00:30, Jens Alfke a écrit :
On Jul 20, 2011, at 2:34 PM, Andreas Grosam wrote:
According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs
which can be inserted into the container. That is, it's not
Le 21 juil. 2011 à 01:48, Jean-Daniel Dupas a écrit :
Le 21 juil. 2011 à 00:30, Jens Alfke a écrit :
On Jul 20, 2011, at 2:34 PM, Andreas Grosam wrote:
According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs
On Jul 21, 2011, at 12:30 AM, Jens Alfke wrote:
On Jul 20, 2011, at 2:34 PM, Andreas Grosam wrote:
According the doc, the parameter capacity in function
CFDictionaryCreateMutable() sets the *maximum number* of key-value pairs
which can be inserted into the container. That is, it's not