![]() |
OptimisationSimulating and displaying massively-parallel hardware systems - such as cellular automata - on conventional, serial VN-architecture computers can easily mop up CPU cycles. This can result in performance difficulties rather rapidly.This article looks at some methods that have been developed historically in an attempt to cope with such problems. It attempts to concentrates on issues that transcend programming languages - and tries to avoid giving too much optimisation advice that is not specific to cellular automata. Some of the methods described are simple and obvious. Others require significant programming skill to implement well. Before we start:
Cautionary notes
Optimisations
I list some of these techniques for the sake of completeness - not because anyone should necessarily be performing them. I wish you happy optimisations. Don't forget to count to ten before embarking.
|