mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
6
libs/platform/constants.hpp
Normal file
6
libs/platform/constants.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
constexpr uint32_t READER_CHUNK_LOG_SIZE = 10; // 1024 bytes pages
|
||||
constexpr uint32_t READER_CHUNK_LOG_COUNT = 12; // 2^12 = 4096 pages count, hence 4M size cache overall (for data files only)
|
||||
Reference in New Issue
Block a user