I call “memcmp” via EvaluateExpression on targets memory to compare two elements of an array. I do it thousands of times to find all matching array elements for many arrays. It works great at the beginning. But slows down by a lot with each call. Magnitude of the slow down is what used to be 1 minute operation start taking hours.
I found that similar topic was discussed here http://lists.llvm.org/pipermail/lldb-dev/2014-April/003836.html in April of 2014. It ends with talking about a patch to make ClusterManager a map or unordered_set instead of being a vector. Do you know if this patch has been applied?
Is there any work around? For example, is it possible to delete ClusterManager from python script when I move from one array to another?