mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2026-11-26 04:09:42 -05:00
da71ee9abd99ea2fbcb844e2a5b4388b8edfeb63
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.
Spigot 
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
Description
Read-only mirror of https://hub.spigotmc.org/stash/scm/spigot/spigot
https://hub.spigotmc.org/stash/scm/spigot/spigot
7.4 MiB
0 Stars
2 Watchers
0 Forks
Languages
Shell
100%