Cthulhu  0.2.10
Cthulhu compiler collection
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
optimal.c File Reference
#include "std/map.h"
#include "arena/arena.h"
#include <stdint.h>
Include dependency graph for optimal.c:

Go to the source code of this file.

Macros

#define TOTAL_SIZE_ANCHORS   (sizeof(kSizeAnchors) / sizeof(size_t))
 

Functions

STA_DECL map_tmap_optimal (size_t size, hash_info_t info, arena_t *arena)
 create a new map with an optimal size More...
 

Macro Definition Documentation

◆ TOTAL_SIZE_ANCHORS

#define TOTAL_SIZE_ANCHORS   (sizeof(kSizeAnchors) / sizeof(size_t))

Definition at line 15 of file optimal.c.