Re: another mountain thing
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Feb 17, 1998
- 591 views
>One thing that does perplex me is that if I create multiple landscapes >(press any key after each one is finished and it'll do another one) the >second landscape is way faster to create than the first one. On an 8th >level landscape the numbers are like this: Because the memory is already allocated to Euphoria. Normally euphoria only allocates the memory you need, but it doesn't unallocate when you no longer need it. I heard Robert say (actually I saw somewhere in one of his messages) that that memory stays allocated to Euphoria for further use by your program. In which case using the same amount of memory would go faster, because you don't have to allocate the memory again. Maybe this can be optimized by Robert, the biggest disappointment of any garbage collector (Euphoria is like those people in Disney land, they clean up right behind ya!!) is the unstable speed. Maybe he could optimize/change his preprocessor to prepare before we enter a loop, because within the loop, the same actions should require the same time to accomplish. Well, any optimization done, should be done per loop/level, it will optimize WHEN something (might) happen(s) more than once, and it will make a program run at a more stable speed, same action --> same computing time. I can get really annoyed by this mail program (outlook-express) that waits a second every half line. Ralf