13
0
geforkt von Mirrors/Paper
Bukkit/Spigot 1ed361e0cc 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.

By: crast <contact@jamescrasta.com>
2013-02-16 17:34:52 -07:00
..
2013-01-22 15:09:24 -06:00
2012-01-29 11:10:40 +01:00
2013-01-22 15:09:24 -06:00
2012-01-29 11:10:40 +01:00
2012-01-29 11:10:40 +01:00
2012-06-03 05:40:54 -05:00
2012-07-29 02:34:09 -05:00
2012-01-29 11:10:40 +01:00
2012-02-26 12:13:30 -05:00
2012-08-02 08:55:11 -05:00