RE: 2.4 weirdness -- first report
- Posted by Andy Serpa <ac at onehorseshy.com> Feb 24, 2003
- 399 views
> > No disk activity that I can tell. And I've got plenty of RAM. > > This could be trouble -- please consider going back to the old allocator > > or doing something about that. In theory, giving the memory back to the > > system is good, but not if is going to take forever to do it. That > particular program is now basically unusable with 2.4. With 2.3 it is 0 > > seconds, with 2.4 it is 30 seconds -- for a function that will be called > > over & over. Am I going to be stuck with 2.3 forever now? > > (See my other post about "speed" -- surely you don't want a general > slowdown for any program which happens to use lots of sequences in a > function. Euphoria is all about sequences!) > I made some small programs with functions to eat up some memory with giant sequences, and in every case 2.4 is faster than 2.3 in both filling up the memory (*many* times faster when building up a sequence with '&' or append) and returning from the function. But the memory does not appear to be released (returned to system) as it does it my other program. So benchmark programs show 2.4 faster than 2.3, but my "real" programs run slower, in the one case massively so (I just verified that again to make sure I wasn't crazy -- still takes 30 seconds to exit function.) Now I'm really confused... -- Andy