Exponential Functions: Benchmarks, 8 Times Faster Math.pow()
I have updated the code for the Math.pow() approximation, now it is 11 times faster on my Pentium IV. Read Optimized Exponential Functions for Java for more information. Now I can also give you some benchmarks:
addthis_url = ‘http%3A%2F%2Fmartin.ankerl.com%2F2007%2F02%2F12%2Fexponential-functions-benchmarks-11-times-faster-mathpow%2F’;
addthis_title = ‘Exponential+Functions%3A+Benchmarks%2C+8+Times+Faster+Math.pow%28%29′;
addthis_pub [...]
Optimized Exponential Functions for Java
Usually microoptimization is only done in C or C++, but it works quite well in Java too. For a project I needed very fast log() and exp() calculations, and Java’s Math.log() and Math.exp() just doesn’t cut it. After a bit of research I have found the following approximations that are good enough for me:
[...]
Open Source Search Engine
Give it a try:
http://opensource.ankerl.com/
Thanks to Google’s new co-op feature I was able to create a customized search engine for open source software. It contains a lot of hosting sites like sourceforge.net and rubyforge.org, but also lots of other sites like eclipse.org, kernel.org, apache.org and many many more.
Click to add it to your customized Google [...]
Three Laws of Software Development
seecretGeek has a nice blog entry about the three laws of Software Development, inspired by Isaac Asimov’s Laws of Robotics (minor adaptations from me):
A developer must write code that creates value.
A developer must make their code easy to maintain, except where such expenditure will conflict with the first law.
A developer must reduce their code to [...]
CoreWars Simulators Overview
I have just received a patch for qMars from Pavel Ĺ avara, so I have finally got some updated information about the different CoreWars simulators I have written. All of them have quite different properties, so have a look and choose whichever suites you best:
addthis_url = ‘http%3A%2F%2Fmartin.ankerl.com%2F2006%2F07%2F29%2Fcorwars-simulators-overview%2F’;
addthis_title = [...]


