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

Stats

3.6K views
71 downloads
5 bookmarked

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
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

Downloads

License

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

Share

About the Author

honey the codewitch
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions