Module inanis::cache::allocator

source ·

Structs

Constants

Functions

  • Calculates optimal size for the hashtables based on total_size megabytes of available memory. For every PAWN_HASHTABLE_SIZE_FRACTION megabytes of transposition table, there will be 1 MB of pawn hashtable. Minimal size for each of them is 1 MB.