30 Jun
After some further pondering, I decided that the performance was bad enough to warrant a diversion into the world of C extensions to Python. The actual format of a C module is very simple indeed, you simply accept Python objects as function arguments and return a pointer to a Python object on exit. The Python [...]
Posted in The Game by: mwtb
No Comments
29 Jun
I spent today looking at the performance issue with the erosion algorithm. This constitutes a break of sorts for me as I do love a bit of optimising.
The existing algorithm was very naive, so there was plenty of scope for improvement. The calculation of the flow of water on all cells of the map is [...]
Posted in Map Generation, The Game by: mwtb
No Comments