Optimizing STD::LIST by choosing the most efficient memory allocation strategy

Authors

  • М.V. Shevtsov Донецький національний університет імені Василя Стуса

Keywords:

C , std::list, memory allocator, StackAllocator, efficiency, optimization, linked list

Abstract

The paper investigates the efficiency of the std::list container using different memory allocation algorithms. A comparison is made between the standard (std::allocator) and a custom allocator based on stack-based allocator principles. The theory on this topic is thoroughly examined, and research is conducted. The results are presented in tabular form and visualized in the form of a diagram.

References

C++23 standard. ISO/IEC JTC1 SC22 WG21 N 4860. 2023. 1841 p.

Meyers S. Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library. AddisonWesley. 2001. 226 p.

Langer A., Kreft K. Allocator Types. C++ Report, 1998. URL: http://www.angelikalanger.com/Articles/ C++Report/Allocators/Allocators.html

Published

2024-12-31

Issue

Section

Природничі та технічні науки