Article View: rec.games.corewar
Article #297Re: Corewars on a PC
From: AZNXS
Date: Wed, 18 Nov 1992 20:28
Date: Wed, 18 Nov 1992 20:28
12 lines
1063 bytes
1063 bytes
I have the same problem with new-dispose (Mars88 is in Pascal) and I think the solution is not to use new-dispose. I'm not absolutely sure about the heap management routines, but I think It would be faster to create a list of memory chunks (size 2*8000) and then use this list instead of new and dispose. So we need 2*8000 new at the begining of the program and 2*8000 dispose at the end of the program, but we need to do it just once in. In the next battle the free-list already exists. I'm not sure if it's really faster, but I'd like to try it out so please send me a note if you think it's nonsense. Nandor.
Technical Details
Message-ID:
<92323.132838AZNXS@ASUACAD.BITNET>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!asuvax!asuacad!aznxsReferences:
<69499@cup.portal.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!asuvax!asuacad!aznxs Organization: Arizona State University Date: Wednesday, 18 Nov 1992 13:28:38 MST From: <AZNXS@ASUACAD.BITNET> Message-ID: <92323.132838AZNXS@ASUACAD.BITNET> Newsgroups: rec.games.corewar Subject: Re: Corewars on a PC Distribution: world References: <69499@cup.portal.com> Lines: 12