Browse by Tags

All Tags » Algorithms » Games4 .NET » Performance (RSS)

Improving on System.Random for gaming and simulation

The algorithm for grabbing samples in the System.Random class comes from Numeric Recipes in C, Second Edition. They've made some small changes to how the algorithm is run, to either improve performance, or improve the random characteristics of the resulting...

Terrarium: Enumerating collections with an outlook on how to speed up the process.

Okay, so I was going through some old source code, that I won't claim since I probably didn't write it based on the fact the as statement wasn't used (as soon as I found out about the as statement I made sure to take advantage of its usage whenever possible...
More Posts