Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
slab_allocator.hpp File Reference
#include "./assert.hpp"
#include "./log.hpp"
#include <list>
#include <map>
#include <memory>
#include <unordered_map>
#include <vector>
#include <mutex>

Go to the source code of this file.

Classes

class  bb::ContainerSlabAllocator< T >
 
struct  bb::ContainerSlabAllocator< T >::rebind< U >
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Typedefs

template<typename T >
using bb::SlabVector = std::vector< T, bb::ContainerSlabAllocator< T > >
 A vector that uses the slab allocator.
 

Functions

void bb::init_slab_allocator (size_t circuit_subgroup_size)
 
std::shared_ptr< void > bb::get_mem_slab (size_t size)
 
void * bb::get_mem_slab_raw (size_t size)
 
void bb::free_mem_slab_raw (void *p)