R
Richard Banville
Guest
I don't see how that tells you directly it is scanning twice. However, the result of truss or trace does indeed tell us that. The reason (I am speculating here as this is not my code) is that the code was written to handle multiple options available on the "scan" screen, some of which are area block based (options 1-6) and some of which are cluster based (options 7-9 & 11) and that Type II was a bit of an ugly add on to the existing mechanism. I will file a bug for the scanning twice when only cluster scan is necessary. As far as the scanning backwards, the performance difference seems ridiculous - I'm wondering if the area is scanned backwards for each object or something. The dbkey order would seem incorrect as well but it sounds like it was done purposefully. I will ask around.
Continue reading...
Continue reading...