I have a C ++ application where the delete function is slow. What can cause this and where should I start looking for a solution?
Background:
This C ++ code is located in an ARX file running inside AutoCAD, which basically is just a DLL.
The specific computer that is running slow deceleration starts AutoCAD 2011, Windows 7, 64-bit. ARX ββfor AutoCAD 2011 must be compiled using Visual Studio 2008 Service Pack 1.
A computer with a problem is a client computer. There is no installed version of Visual Studio on it.
On my development computer, the code has no problems in AutoCAD 2011.
To check, I have code that removes a linked list. On a computer with a problem, it takes 0.7 seconds to delete the list. On computers and configurations, the same code takes 0.02 seconds without any problems. Specific times are not important - there is a big difference between the two numbers.
I am sure that I am running the same version of code on both computers, so the issue with debugging is not a problem.
David robison
source share