原有的内存池实现还是会调用 new, 性能提升不显著, 故切换到不需要 new 的实现. 参考: https://github.com/eliben/code-for-blog/blob/master/2008/memmgr/main.c https://gitrepos.estec.esa.int/taste/panda/blob/master/etc/libbambu/memmgr.c 自对弈时长由54s缩短到52s. 临时使用转换为 vector 再调用 std:sort 进行排序的方式, 后续切换到 自己的排序函数, 应会明显提升性能. |
||
---|---|---|
.. | ||
config.h | ||
version.h | ||
version.h.template |