The project implemented an allocator using memory pool strategy to speed up the speed of memory allocation.
performance test:
- Random creation
- Random resize
- Random element assignment
- Pop everything
- Random creation after erase
-
在终端中输入 make,执行 makefile 文件,编译生成可执行文件 test.exe。
make
-
在终端中输入./test.exe,运行测试程序。
./test.exe