Open psygate opened 8 years ago
Replacing https://github.com/Civcraft/Citadel/blob/master/src/vg/civcraft/mc/citadel/misc/CitadelStatics.java with http://docs.guava-libraries.googlecode.com/git-history/release12/javadoc/com/google/common/cache/CacheBuilder.html#recordStats%28%29 and using AtomicIntegers or AtomicLongs for stats might yield a better performance and cleaner code.
Replacing https://github.com/Civcraft/Citadel/blob/master/src/vg/civcraft/mc/citadel/misc/CitadelStatics.java with http://docs.guava-libraries.googlecode.com/git-history/release12/javadoc/com/google/common/cache/CacheBuilder.html#recordStats%28%29 and using AtomicIntegers or AtomicLongs for stats might yield a better performance and cleaner code.