>>Yes, I've found NEWOBJECT is a LOT slower. If it's in a loop, or needs to be called from any of they Dynamic* stuff in a grid you'll want to stay away from it.
>
>Thanks. Good to know this cause I actually have code calling newobject in a small scan loop. Currently I don't have any issues with it, however, I'm curious to know if changing it will get better performance.
Both set classlib and newobject have to open a file, and to find it first. Set classlib, however, keeps that file open, so when you do createobject(), the overhead (search for the file, open it) is nearly zero.