OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FastAllocator.h File Reference

Quickly allocate many memory pieces by reserving them ahead of time. Calls to allocate() are thread-safe. More...

#include "Shared/SimpleAllocator.h"
#include <algorithm>
#include <exception>
#include <mutex>
#include <sstream>
+ Include dependency graph for FastAllocator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  heavyai::allocator::detail::FastAllocator< T >
 

Namespaces

 heavyai
 
 heavyai::allocator
 
 heavyai::allocator::detail
 

Functions

std::runtime_error heavyai::allocator::detail::outOfMemoryError (size_t n, size_t remaining, size_t capacity)
 

Detailed Description

Quickly allocate many memory pieces by reserving them ahead of time. Calls to allocate() are thread-safe.

Definition in file FastAllocator.h.