Andre Poenitz wrote:
On Sun, Dec 30, 2007 at 10:35:59AM +0100, Abdelrazak Younes wrote:

Hum, after reading the code, I think we are on the wrong track. The reason why this is so slow is that we reconstruct a vector of full strings each time we call 'getLabelList()'. If we just reconstruct a vector of pointer I forecast that it will be fast enough. If that is not the case, we can implement a cache based solution as Juergen suggested.

Not sure. We are talking about a few dozen, maybe a hundred strings. If
that's visible it means probably we are doing it too often.

Note that the problem is not visible in general. The original reported has indeed hundreds of cross-references.

Abdel.

Reply via email to