Aikar da71ee9abd Optimize Chunk Saving Memory Allocation and Compression
Minecraft ineffeciently uses OutputStreams by calling .write(int) on the stream.
For Chunks, this is a DeflaterOutputStream, which allocates a single byte EVERY write.

This is causing the server to allocate tons of new byte[1] objects.
Additionally, this is very ineffecient for the Deflate process.

By Buffering Writes the same way it already is Buffering Reads, we will
write to the stream much more effeciently.

Also a more effecient RegionFile zero'ing for new chunks to speed up
new chunk generation.
2015-09-10 16:47:30 +10:00
2014-03-20 20:15:36 +11:00
2015-07-21 18:18:51 +10:00
2013-08-19 22:21:12 +02:00

Spigot Build Status

High performance Minecraft server implementation

How To

Init a Craftbukkit and Bukkit module : git submodule update --init

Apply Patches : ./applyPatches.sh

Create patch for server

cd Spigot-Server

Add your file for commit : git add <file>

Commit : git commit -m <msg>

cd ..

Create Patch ./rebuildPatches.sh

Create patch for API

cd Spigot-API

Add your file for commit : git add <file>

Commit : git commit -m <msg>

cd ..

Create Patch ./rebuildPatches.sh

Compilation

We use maven to handle our dependencies.

  • Install Maven 3
  • Clone this repo and: mvn clean install
Languages
Shell 100%