PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
scratch_tables.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace pineforge {
6namespace detail {
7
8enum class ScratchTableBackend : std::uint32_t {
11};
12
13// Admission maxima, not observed populations. K/B include erased keys and
14// generated identifiers; all B fields count bytes, including embedded NULs.
16 // Reserved zero: q is removed; retain these fields in their ABI order.
17 std::uint64_t K_q = 0;
18 std::uint64_t B_q = 0;
19 std::uint64_t K_e = 0;
20 std::uint64_t B_e = 0;
21 std::uint64_t K_c = 0;
22 std::uint64_t B_c = 0;
23 std::uint64_t U = 0;
24 std::uint64_t B_U = 0;
25 std::uint64_t V = 0;
26 std::uint64_t B_V = 0;
27 std::uint64_t R = 0;
28};
29
34
35class ScratchSlab;
36
37} // namespace detail
38} // namespace pineforge