Bones' Blog of Stuff About Things

Archive for June, 2005

30 Jun

Getting My ‘C’ Legs Back

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 [...]

29 Jun

Faster, Stronger, Wetter

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 [...]

© 2010 Bones' Blog of Stuff About Things | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo