by Torrie Moore >> Fri, 25 Jun 1999 5:09:06 GMT
Does anyone know if there is a fast way of determining the position of an iterator in its collection.
I have managed to do this by the following code
iter.StartAtObject(obj);
index := iter.getCollection.indexOf(obj);
The second line of code takes about 10 seconds for a dictionary containing 60000 records. Does anyone know of a faster way of getting this information?