Hours? Really? I just tried this code:
for(i 0 Nx
for(j 0 Ny
rodCreateRect(?cvId Cv ?layer LPP ?bBox list(i:j i+0.5:j+0.5))
);End for j
);End for i
printf("Start: %L \nEnd: %L\nDiff: %L\n" startTime endTime compareTime(startTime endTime))
This is placing 900 (you were talking about 700-800) rectangles (yes, all evenly spaced, but that shouldn't matter if it's the rodCreateRect which is being slow), and I got:
Start: "Feb 4 10:27:11 2013"
End: "Feb 4 10:27:11 2013"
In other words, it was less than a second (it seemed to return immediately).
Maybe the rodCreateRect is not the bottleneck. Can you run the SKILL Profiler on your code?