New answers tagged memory-management
6
votes
Arena Allocator in C
Poor naming
Based on its name and type and type alias, I expect Arena.buffer to be a pointer to the starting address of the arena from which memory is being ...
7
votes
Accepted
Arena Allocator in C
char pointer
typedef char* Arena_ptr;
That seems weird.
I mean, it's your Public API, you get to define it however you want,
signed char or unsigned or whatever.
...
Top 50 recent answers are included
Related Tags
memory-management × 659c++ × 267
c × 193
performance × 102
pointers × 61
c++11 × 57
c# × 55
linked-list × 43
beginner × 39
array × 38
reinventing-the-wheel × 35
strings × 34
java × 33
memory-optimization × 32
python × 29
object-oriented × 20
javascript × 17
c++17 × 17
vectors × 17
error-handling × 15
c++14 × 15
algorithm × 14
template × 13
objective-c × 13
multithreading × 12