One thing I’m always interested in is Performance. So I want to share with you my favorite libraries I use to make my creations a little faster.
Trove
Trove is a Java library for collections using primitive types (not the wrapper classes the JDK uses). It is faster and uses allot less memory, than the JDK Collections.You can find Trove at: trove.starlight-systems.com
Jafama – JavaFastMath
Jafama is a library, that contains Math functions, that are a little (10^-13) less accurate, but are allot faster. In many you don’t need numbers that are more precise, than 5-6 digests past the comma. You can find it here: sourceforge.net/projects/jafama/Xorshift
Xorshift is an awesome Pseudo-Random-Generation-Algorithm. It creates better random numbers (in sense of distribution) than the standard JDK-Random. It is also 30% faster!You can read a little about the history of random number generating here. You can find an implementation here.
No comments:
Post a Comment