64 static inline unsigned
84 const int ALLOC_SIZE = 128;
87 unsigned alloc_size = (
UINT64_ONE << slot_index);
92 slot =
new word_list[ALLOC_SIZE * alloc_size];
94 for (
i = 0;
i < alloc_size * (ALLOC_SIZE - 1) ;
i += alloc_size) {
static word * alloc_word(std::size_t size)
static void free_word(word *array, std::size_t size)
static unsigned next_pow2_index(std::size_t size)
static const uint64 UINT64_ONE
int scfx_find_msb(unsigned long x)
static word_list * free_words[32]