Re: optimization....help
- Posted by Euman <euman at BELLSOUTH.NET> Oct 21, 2000
- 538 views
Thanks Jiri my mistake was @ across += 262 where I added across again where 262 is now........... < \Kick myself> ----- Original Message ----- From: "jiri babor" <jiri_babor at HOTMAIL.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Saturday, October 21, 2000 2:09 AM Subject: Re: optimization....help > 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. >