Alexander Bauza <[EMAIL PROTECTED]> wrote:

>       MyBigPic.Graphics.DrawPicture (ArrayPicture(i), 0, h)
>       h = h + ArrayPicture(i).Height

You can cache the "MyBigPic.Graphics" into a local variable before the
loop starts.

And you can cache the current image in a variable so you don't call two
times the array getter.

But that may only make 1% or less.

Better maybe if you do not create the small pictures, but calculate the
size before and create the small ones directly into the big one.

Gruß
Christian

-- 
Around eleven thousand functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to