summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorcrast <contact@jamescrasta.com>2013-02-16 17:34:52 -0700
committerTravis Watkins <amaranth@ubuntu.com>2013-04-04 13:27:06 -0500
commit145ebaf152de5927499b3c5d3219aabdb20fe0b1 (patch)
tree02457c9109cbd8652e48eba0a11236fbe68443aa /CONTRIBUTING.md
parent63128012244d05ba1d94cd83febb0faf354cfac4 (diff)
downloadbukkit-145ebaf152de5927499b3c5d3219aabdb20fe0b1.tar
bukkit-145ebaf152de5927499b3c5d3219aabdb20fe0b1.tar.gz
bukkit-145ebaf152de5927499b3c5d3219aabdb20fe0b1.tar.lz
bukkit-145ebaf152de5927499b3c5d3219aabdb20fe0b1.tar.xz
bukkit-145ebaf152de5927499b3c5d3219aabdb20fe0b1.zip
Improve speed and memory use of FixedMetadataValue. Fixes BUKKIT-1460
FixedMetadataValue currently just extends LazyMetadataValue with a value that never changes. While this works it is a lot of unneeded overhead that causes FixedMetadataValue to be a lot slower and use a lot more memory than one would expect. To correct this we store the value directly in FixedMetadataValue and override the the appropriate methods to use it. Ideally we would modify FixedMetadataValue to no longer extend LazyMetadataValue as this would give a very large memory savings. However, this is not currently done for backwards compatibility reasons.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions