PaperMC/paper-api
Bukkit/Spigot 1378ec9381 Don't cache metadata store disambiguations. Fixes BUKKIT-3841
The metadata system generates unique keys for metadata entries based on
the subject metadata is being applied to and the name of the metadata
being applied. It was assumed this would be an expensive operation so a
cache was put in place to ensure this was done as little as possible.

In reality this cache only has a benefit when you have a hit rate above
~90% and is otherwise much slower. As the implementation of the cache is
a hashmap of hashmaps it also uses a significant amount of memory which
is not worth it even for the performance increase with a high hit rate.

This commit simply removes the cache which results in speedups for most
cases and large memory savings.

By: crast <contact@jamescrasta.com>
2013-03-20 19:13:14 -06:00
..
src Don't cache metadata store disambiguations. Fixes BUKKIT-3841 2013-03-20 19:13:14 -06:00
.gitignore Ignore all .DS_Store files, not just root folder 2013-03-30 18:04:11 -03:00
CONTRIBUTING.md Remove point about squashing commits. 2013-03-18 23:49:02 -03:00
LICENCE.txt We're GPL. 2011-01-02 10:57:42 +01:00
pom.xml Updated version to 1.5.1-R0.2-SNAPSHOT for development towards next release. 2013-04-04 00:18:40 -04:00
README.md Add missing new line to README.md 2013-03-18 22:35:10 -04:00

Bukkit

A Minecraft Server API.

Website: http://bukkit.org
Bugs/Suggestions: http://leaky.bukkit.org
Contributing Guidelines: CONTRIBUTING.md

Compilation

We use maven to handle our dependencies.

  • Install Maven 3
  • Check out this repo and: mvn clean install