Quote: "IanM's picks a random object"
That depends on the particular FIND FREE XXX function that you use.
Anything in plug-in number 5 does work the way you've described, but any outside of that plug-in uses a better and faster method that picks the first free item in the range you request in constant time - the difference is that my constant 'k' is far smaller than yours, and you are also dealing with a hidden linear search.
As I get the time, I move the functions over to the new system, but the price I pay is that it's time consuming and difficult to do.
Try a speed comparison using any system you choose against FIND FREE OBJECT for example. I'd also be interested in seeing a comparison using a reuse-based method against the ones in plug-in 5 too.
Quote: "Damn, didn't know DBP was that inefficient."
I have plans to fix that, but I'm supposed to be bug fixing rather than enhancing right now.
Quote: "Any light on that?"
My functions are compiled to highly optimised machine code. DBPro does not have an optimiser, so even a very tight-appearing loop in DBPro will be slower than the equivalent C++.