Click here to Skip to main content
15,883,705 members
Articles / Internet of Things / Raspberry-Pi

Fast Memory Allocation and Pooling for Constrained Environments

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
14 Dec 2020MIT8 min read 9.5K   102   6  
Some C++ magic to help cut down on heap abuse for simple scenarios
Reap garbage-collector-like advantages without the overhead by rapidly allocating from fixed sized pools of memory sequentially and then recycle the entire pool to make your heap use more efficient.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions