What is the size-argument to allocate_mapping? The maximum number of entries or the expected number of entries?
It's the size that the mapping will be initially allocated for, i.e. the expected number of entries.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-10-27 15:43: Subject: allocate_mapping
What is the size-argument to allocate_mapping? The maximum number of entries or the expected number of entries?
/ Martin Nilsson (Fake Build Master)
Ok. Then I'll increase the value for the constants mapping from 20 to pike -e 'write("%d\n",sizeof(all_constants()));'
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-27 15:58: Subject: allocate_mapping
It's the size that the mapping will be initially allocated for, i.e. the expected number of entries.
/ Martin Stjernholm, Roxen IS
pike-devel@lists.lysator.liu.se