A method for automatic optimization of dynamic memory management in C++ | IEEE Conference Publication | IEEE Xplore