Home
last modified time | relevance | path

Searched refs:SMALL_REQUEST_THRESHOLD (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Objects/
H A Dobmalloc.c823 * Requests greater than SMALL_REQUEST_THRESHOLD bytes are routed to the
859 * 0, SMALL_REQUEST_THRESHOLD + 1 and up: routed to the underlying
898 * 1) ALIGNMENT <= SMALL_REQUEST_THRESHOLD <= 512
899 * 2) SMALL_REQUEST_THRESHOLD is evenly divisible by ALIGNMENT
902 * it is recommended that SMALL_REQUEST_THRESHOLD is set to a power of 2.
904 #define SMALL_REQUEST_THRESHOLD 512 macro
905 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
1962 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { in pymalloc_alloc()
2320 If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take in pymalloc_realloc()
2965 const uint numclasses = SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIF in _PyObject_DebugMallocStats()
[all...]

Completed in 5 milliseconds