issues
search
OvercastNetwork
/
SportBukkit
CraftBukkit and Bukkit modifications that improve stability and add new features
100
stars
85
forks
source link
Reduce ItemStack copying and array creation when manipulating invenories
#222
Closed
jedediah
closed
7 years ago
jedediah
commented
7 years ago
Store a
CraftItemStack
inside
nms.ItemStack
and reuse it.
Add
Inventory#contents()
and similar methods that return reusable transformed views of the native lists, instead of a new array.
CraftItemStack
insidenms.ItemStack
and reuse it.Inventory#contents()
and similar methods that return reusable transformed views of the native lists, instead of a new array.