Click here to Skip to main content
15,885,216 members
Articles / General Programming / Memory Management

Array-Based Memory Pool and Allocator

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
6 Feb 2023CPOL19 min read 9.5K   133   11  
Simple and useful alternative to traditional memory pool
Compared to traditional memory pools using linked lists, array-based allocators are less frequently discussed in books and public domain. Nevertheless, they are simple and can deliver substantial performance gains when some loss of space is acceptable.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Australia Australia
Vadim Stadnik has many years of experience of the development of innovative software products. He is the author of the book “Practical Algorithms on Large Datasets”, available on Amazon. His interests include computational mathematics, advanced data structures and algorithms, artificial intelligence and scientific programming.

Comments and Discussions