Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!itsgw!steinmetz!crdgw1!uunet!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.sys.amiga Subject: Re: C help Message-ID: <1222@microsoft.UUCP> Date: 4 Apr 89 06:51:41 GMT References: <19888@srcsip.UUCP> Reply-To: w-colinp@microsoft.uucp (Colin Plumb) Organization: very little Lines: 12 For your state array, you might try wrapping it up in a structure and doing structure assignment. This gives the compiler lots of room to optimise. You can also get tricky with fancy data structures, like storing a delta from the base state, and only copying the full state if you accept. In C, all float operations are done in double precision, but all integer ops, including divide, are pure integer. Don't worry about it too much. -- -Colin (uunet!microsoft!w-colinp) "Don't listen to me. I never do." - The Doctor