Shuo Chen
Shuo Chen
If you really need this, add a new member 'shrinkExact' and leave the old one alone. Also document the differences between those two member functions.
I don't think this PR improves performance in every cases, if you really need it, give it a new name.
贴能复现你说的现象的可编译运行的完整代码以及完整复现步骤。
steps to reproduce?
Still so many unrelated commits.
https://stackoverflow.com/questions/4767925/how-to-force-gcc-to-link-unreferenced-static-c-objects-from-a-library
Yes, PRs are welcome.
静态镜像: https://coolshell.org 源文件: https://github.com/chenshuo/coolshell
改成 ` g++ test.cpp -lmuduo_net -lmuduo_base -lpthread` 试试。