|
Open CASCADE Technology
6.7.1
|
The package <TCollection> provides the services for the
transient basic data structures.
More...
#include <TCollection.hxx>
Static Public Member Functions | |
| static Standard_Integer | NextPrimeForMap (const Standard_Integer I) |
Returns a prime number greater than <I> suitable <br> to dimension a Map. When becomes great there | |
The package <TCollection> provides the services for the
transient basic data structures.
|
static |
Returns a prime number greater than <I> suitable <br>
to dimension a Map. When becomes great there
is a limit on the result (today the limit is
around 1 000 000). This is not a limit of the number of
items but a limit in the number of buckets. i.e.
there will be more collisions in the map.
1.8.5