RE: 2.4 problems
- Posted by Andy Serpa <ac at onehorseshy.com> Jun 09, 2003
- 379 views
Pete Lomax wrote: > > > On Mon, 9 Jun 2003 16:18:42 +0000, Andy Serpa <ac at onehorseshy.com> > wrote: > > <snip> > >for i = 1 to 500000 do > ^ i had to kill a zero on that ;-( {P233, 48MB, Eu 2.4 beta} > >--s1 = {} > ^^^ bizarre!!! > Correct me if I'm wrong, but that is a top-level statement executed > exactly ONCE (when uncommented ) > Bizzare, because variable s1 is not referenced *at all* after that > point (I'm measuring just up to the --s2 = {} line, no further). > > Andy, Rob, just that *one* line uncomment made it run like a dog (TEN > times slower: 130 seconds vs 13 seconds) on my PC. > > Bizzare, because code *NOT* referencing that variable, like I just > said, runs ten times slower!! > > Andy: I think you have definitely found something . > Yeah, I think it is because the memory that s1 was using is now available for Eu to use again, and the problem is in the re-use of the memory, not the variable. We'll see what Rob finds out. My system is 256MB Windows ME, by the way...