Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
memory.hpp File Reference

Arena (bump-pointer) allocator for batch Parquet reads. More...

#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <new>
#include <vector>

Go to the source code of this file.

Classes

class  signet::forge::Arena
 Bump-pointer arena allocator for batch Parquet reads. More...
 

Namespaces

namespace  signet
 
namespace  signet::forge
 

Detailed Description

Arena (bump-pointer) allocator for batch Parquet reads.

Provides a fast, allocation-recycling arena that maintains a list of memory blocks. Allocations advance a pointer within the current block; when a block is exhausted, a new one is allocated (at least block_size or the requested size, whichever is larger). reset() recycles all blocks without freeing, making them available for the next batch.

Definition in file memory.hpp.