Re: optimization....help
- Posted by jiri babor <jiri_babor at HOTMAIL.COM> Oct 21, 2000
- 543 views
Euman, this will be somewhat faster: for x = 1 to down do seq[x] = r[count..across] count = across + 1 across += 262 end for jiri >From: Euman <euman at BELLSOUTH.NET> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: optimization....help >Date: Fri, 20 Oct 2000 22:59:33 -0400 > >Hello all, > >Can the below loop be optimized further? > >I know that takeing the multiplies out should do it >but am at a lose on this....... > >----- begin ----------- > >count = 1 >across = 262 >down = 236 > >seq = repeat(0,down) > >for x = 1 to down do > seq[x] = r[count..across * x] > count = across * x + 1 >end for > >--- end ------------------- > >euman at bellsouth.net > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.