3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 19:10:09 +01:00

Add Minimal FastUtil int/long collections.

Importing the full library would double the jar size... its way too large.
So lets just import the basic int/long based collections to then use
to improve performance on these kind of collections.
Dieser Commit ist enthalten in:
Aikar 2016-03-30 01:57:56 -04:00
Ursprung 23467ff8d6
Commit c2f872aed3
32 geänderte Dateien mit 45278 neuen und 69 gelöschten Zeilen

Datei-Diff unterdrückt, da er zu groß ist Diff laden

Datei anzeigen

@ -1,11 +1,11 @@
From 5ae17d42515dab32a03341740fd3b99aeb4c4420 Mon Sep 17 00:00:00 2001
From e5bf28b61af878aee9b97ab52d6ed6930487362f Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Mon, 29 Feb 2016 17:22:34 -0600
Subject: [PATCH] Player affects spawning API
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 3242c69..0979f94 100644
index 19f7ae7..145bb15 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -1270,6 +1270,20 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@ -30,5 +30,5 @@ index 3242c69..0979f94 100644
public class Spigot extends Entity.Spigot
{
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From c84a859dcf623824d3fa4f45d0fdb00c96f791a3 Mon Sep 17 00:00:00 2001
From f41ba48d012b47e2ea11fae6e58e595e93ba47e1 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 29 Feb 2016 17:24:57 -0600
Subject: [PATCH] Add getTPS method
@ -42,5 +42,5 @@ index f82cbaf..6e23b0c 100644
* @return the unsafe values instance
*/
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 185a0dc471a2a1f5c74365f576ef3fecc04077cf Mon Sep 17 00:00:00 2001
From 410427fe9f7aa75592d7ba4aec7cfc78ae868da7 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 29 Feb 2016 17:43:33 -0600
Subject: [PATCH] Add async chunk load API
@ -88,5 +88,5 @@ index d088c3c..d16facb 100644
*
* @param chunk The chunk to check
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From fc936348f326dc7f042c1791eb98627a7fa97008 Mon Sep 17 00:00:00 2001
From 80f0b1f242c4e32979a05cc74f0e482c2fdbc0fa Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Mon, 29 Feb 2016 17:50:31 -0600
Subject: [PATCH] Entity Origin API
@ -61,5 +61,5 @@ index 3ce322d..69df487 100644
+ public org.bukkit.Location getSourceLoc();
}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 8945fdcb9e256a858154ee2bd510b0be242c9258 Mon Sep 17 00:00:00 2001
From 1c6c69b96da276f32ff330c25091299c3efd1fbd Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 17:58:01 -0600
Subject: [PATCH] Check Paper versions
@ -139,5 +139,5 @@ index b55abdb..6d32e1d 100644
+ // Paper end
}
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From bb0becc6c80fa0996078cc9e7d5bb3e0dea72611 Mon Sep 17 00:00:00 2001
From 5bbfd17e10b92832b0459da91bb1044c3eb38f17 Mon Sep 17 00:00:00 2001
From: Isaac Moore <rmsy@me.com>
Date: Mon, 29 Feb 2016 18:02:25 -0600
Subject: [PATCH] Add PlayerLocaleChangeEvent
@ -58,5 +58,5 @@ index 0000000..17afc8c
+ }
+}
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,11 +1,11 @@
From a4a5ff9f015a914a3967d0392769a74190945cba Mon Sep 17 00:00:00 2001
From ddf27421558eedfa849d43c38652e43e6b785145 Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Mon, 29 Feb 2016 18:05:37 -0600
Subject: [PATCH] Add player view distance API
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 0979f94..1a11c2b 100644
index 145bb15..66527ce 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -1284,6 +1284,20 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@ -30,5 +30,5 @@ index 0979f94..1a11c2b 100644
public class Spigot extends Entity.Spigot
{
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From dcd1942fd0c3527281f9411bd7c4103ebdf00f1e Mon Sep 17 00:00:00 2001
From 93d98d9a2a4d8cbef43ca5b9e7fbad4d6cf925a5 Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Mon, 29 Feb 2016 18:09:40 -0600
Subject: [PATCH] Add BeaconEffectEvent
@ -92,5 +92,5 @@ index 0000000..6579ae9
+ }
+}
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 3eba221a754f0bdf4bc31cc105ed33757d4ab7f0 Mon Sep 17 00:00:00 2001
From 3dabbf24d9e169631ff0f11df707e0623c4d2cc4 Mon Sep 17 00:00:00 2001
From: Steve Anton <anxuiz.nx@gmail.com>
Date: Mon, 29 Feb 2016 18:13:58 -0600
Subject: [PATCH] Add PlayerInitialSpawnEvent
@ -55,5 +55,5 @@ index 0000000..d1d6f33
+ }
+}
--
2.7.1.windows.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 78cc4ff51183b89e12aa39a47d39bf06497613ea Mon Sep 17 00:00:00 2001
From 95affa5d23889fc61fbc4a2c37879369754609c3 Mon Sep 17 00:00:00 2001
From: DemonWav <demonwav@gmail.com>
Date: Mon, 29 Feb 2016 19:37:41 -0600
Subject: [PATCH] Add Location support to tab completers (vanilla feature
@ -165,5 +165,5 @@ index 6d61e3a..85b10e5 100644
+ // Paper end
}
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From ae556b9d833294cf0e1f865b6851447a11cdcda5 Mon Sep 17 00:00:00 2001
From 72bedfe51658b0464677c52347151e5525b85307 Mon Sep 17 00:00:00 2001
From: Nik Gil <nikmanG@users.noreply.github.com>
Date: Mon, 29 Feb 2016 19:42:10 -0600
Subject: [PATCH] Made EntityDismountEvent Cancellable
@ -43,5 +43,5 @@ index 24d4942..ce989bb 100644
+ // Paper end
}
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 9003dd80621ac325f76aab4af72047c9da57f691 Mon Sep 17 00:00:00 2001
From 9b9ccba2ed63a98b146b388fd175e9d350e05dfd Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 29 Feb 2016 19:45:21 -0600
Subject: [PATCH] Automatically disable plugins that fail to load
@ -20,5 +20,5 @@ index 4983ea8..93a43dd 100644
// Perhaps abort here, rather than continue going, but as it stands,
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 7c9892de7be9a27ba1014d2ee6202c70230b114d Mon Sep 17 00:00:00 2001
From e56e4b8d652e65f05ed1102a811ec81508f7af4a Mon Sep 17 00:00:00 2001
From: kashike <kashike@vq.lc>
Date: Mon, 29 Feb 2016 19:48:59 -0600
Subject: [PATCH] Expose server CommandMap
@ -39,7 +39,7 @@ index 8d602a3..b6a0b40 100644
{
return server.spigot();
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index 86fe389..9ee3815 100644
index 6e23b0c..a1ce356 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -17,10 +17,7 @@ import org.bukkit.boss.BarColor;
@ -70,5 +70,5 @@ index 86fe389..9ee3815 100644
* @see UnsafeValues
* @return the unsafe values instance
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 47ecb6bf0557814cd48f9b732e1bd5bee223f923 Mon Sep 17 00:00:00 2001
From ab8308a04ebe3b5e2ff0a93c1527b335a3d5f3a7 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 19:54:32 -0600
Subject: [PATCH] Graduate bungeecord chat API from spigot subclasses
@ -36,7 +36,7 @@ index b6a0b40..f93ca2e 100644
* Gets the name of the update folder. The update folder is used to safely
* update plugins at the right moment on a plugin load.
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index 9ee3815..77d4f34 100644
index a1ce356..91bde81 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -238,6 +238,22 @@ public interface Server extends PluginMessageRecipient {
@ -63,7 +63,7 @@ index 9ee3815..77d4f34 100644
* Gets the name of the update folder. The update folder is used to safely
* update plugins at the right moment on a plugin load.
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 855bde5..024b8dd 100644
index 66527ce..edf35f5 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -331,6 +331,22 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@ -90,5 +90,5 @@ index 855bde5..024b8dd 100644
* Forces an update of the player's entire inventory.
*
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 084b100716809ddb5c563ed03318c2cb010f7382 Mon Sep 17 00:00:00 2001
From a0fabc2ea5c62e58d9c7caef415eabe3de6c9fb8 Mon Sep 17 00:00:00 2001
From: Techcable <Techcable@outlook.com>
Date: Mon, 29 Feb 2016 20:02:40 -0600
Subject: [PATCH] Player Tab List and Title APIs
@ -369,7 +369,7 @@ index 0000000..e1ecd44
+ }
+}
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 024b8dd..50a6a41 100644
index edf35f5..5326ea6 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -2,6 +2,7 @@ package org.bukkit.entity;
@ -507,5 +507,5 @@ index 024b8dd..50a6a41 100644
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From d6d60f8002718e1a350932f6d62cd10babcb4c53 Mon Sep 17 00:00:00 2001
From dec653a0fcd117f48e13a63d763fd7387d1d58a0 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 20:24:35 -0600
Subject: [PATCH] Add exception reporting event
@ -587,5 +587,5 @@ index 1325b03..49f5872 100644
}
}
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From c872380e8a9e221324e69639a39bffb18fc8f883 Mon Sep 17 00:00:00 2001
From 40cea5b463eada81ab6b30330ed739615a97c9bd Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 29 Feb 2016 20:26:39 -0600
Subject: [PATCH] Fix ServerListPingEvent flagging as Async
@ -50,5 +50,5 @@ index 343f238..3c38d85 100644
this.address = address;
this.motd = motd;
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From c86b4710176897c1c3cffa381cc212ff53c0fe4a Mon Sep 17 00:00:00 2001
From 2f744e6d6116fd4debbba556368e44db6d1b9090 Mon Sep 17 00:00:00 2001
From: kashike <kashike@vq.lc>
Date: Tue, 8 Mar 2016 13:05:59 -0800
Subject: [PATCH] Add BaseComponent sendMessage methods to CommandSender
@ -40,7 +40,7 @@ index 148756b..4ad0028 100644
+ // Paper end
}
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 8124c71..b9c9af0 100644
index 5326ea6..2951b98 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -338,6 +338,7 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@ -60,5 +60,5 @@ index 8124c71..b9c9af0 100644
/**
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From ed0f87d97dc3b1e85e2ef56ba8d6ec1e871df32d Mon Sep 17 00:00:00 2001
From 578d1f92b19a427d2deb9ded55c699ea9fdbdec4 Mon Sep 17 00:00:00 2001
From: mrapple <tony@oc.tc>
Date: Sun, 25 Nov 2012 13:47:27 -0600
Subject: [PATCH] Add methods for working with arrows stuck in living entities
@ -29,5 +29,5 @@ index 22de9f7..570da41 100644
+ // Paper end
}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,11 +1,11 @@
From fa6a25250e75d5ec7ded2fc985067a64e71e6b0f Mon Sep 17 00:00:00 2001
From 7b4059b9b56f49f1a227fb39b1ea909245a1203d Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Sat, 4 Apr 2015 22:59:54 -0400
Subject: [PATCH] Complete resource pack API
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index b9c9af0..b7496a3 100644
index 2951b98..d7c8069 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -1099,7 +1099,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@ -110,5 +110,5 @@ index 4c49801..4c83851 100644
* Gets the status of this pack.
*
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From c1dc52ffb0997b633a552eb4fc6341de01a50e40 Mon Sep 17 00:00:00 2001
From e5e95709d29d23cb34387060e95de1aad352e432 Mon Sep 17 00:00:00 2001
From: Techcable <Techcable@outlook.com>
Date: Thu, 3 Mar 2016 13:20:33 -0700
Subject: [PATCH] Use ASM for event executors.
@ -6,7 +6,7 @@ Subject: [PATCH] Use ASM for event executors.
Uses method handles for private or static methods.
diff --git a/pom.xml b/pom.xml
index 0b615b4..1ad108e 100644
index d3a877a..92a729b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,12 @@
@ -395,5 +395,5 @@ index 93a43dd..7229b25 100644
eventSet.add(new TimedRegisteredListener(listener, executor, eh.priority(), plugin, eh.ignoreCancelled()));
} else {
--
2.7.2
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 82df1be4b32c98bc98852d11792b42808db38322 Mon Sep 17 00:00:00 2001
From 81c991a2a0e0f1f58a73b49bb276ab52884d433d Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 19 May 2013 20:36:58 -0400
Subject: [PATCH] Add a call helper to Event
@ -40,5 +40,5 @@ index 6677e1b..eaf6c49 100644
* Convenience method for providing a user-friendly identifier. By
* default, it is the event's class's {@linkplain Class#getSimpleName()
--
2.7.3
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 69a33cc93b8fdb90057a7cb3a82fddfe61074033 Mon Sep 17 00:00:00 2001
From 21d5ec9b192521a3502ad03fdc32d217651ab129 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Wed, 22 Jul 2015 18:50:41 -0400
Subject: [PATCH] Add sender name to commands.yml replacement
@ -41,5 +41,5 @@ index f89ad07..a3e9c63 100644
while (index != -1) {
int start = index;
--
2.7.3
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 208b1904b32400b1745e6c89be57fded2d285a60 Mon Sep 17 00:00:00 2001
From bd8ce76652697575ba15e5efec4710cf0dcd2bba Mon Sep 17 00:00:00 2001
From: William <admin@domnian.com>
Date: Fri, 18 Mar 2016 03:28:07 -0400
Subject: [PATCH] Add command to reload permissions.yml and require confirm to
@ -102,5 +102,5 @@ index 49f5872..e988a7c 100644
+
}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 11d6fcf537a9f03b483874c2c2dee87a71fe19ca Mon Sep 17 00:00:00 2001
From 9ffd06f684daada133fc1b90cc983c8598a6e328 Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Sun, 21 Jun 2015 15:05:21 -0400
Subject: [PATCH] Custom replacement for eaten items
@ -42,5 +42,5 @@ index 8ab76b1..42aad88 100644
return this.isCancelled;
}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From df17741c376cfdac8301e64a9dc9a956e75ae5f1 Mon Sep 17 00:00:00 2001
From 0024ceed3f1fac5330f4bafd0054f54229489089 Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Sun, 20 Mar 2016 06:44:49 -0400
Subject: [PATCH] Access items by EquipmentSlot
@ -32,5 +32,5 @@ index 557cc04..799f150 100644
+ // Paper end
}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 6fbe0184aa41dd325adc6415b01dda65b1b97c35 Mon Sep 17 00:00:00 2001
From d32bff844b27d2b2e5827728d21411630c15d25e Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 28 Mar 2016 20:26:34 -0400
Subject: [PATCH] Entity AddTo/RemoveFrom World Events
@ -88,5 +88,5 @@ index 0000000..9b522ce
+ }
+}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 973cff5bb740f213b5a90297c9cd132e4a57d8e4 Mon Sep 17 00:00:00 2001
From 0cbfd3f956fe731e9a2c1e0838afd8cb577e338b Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Mon, 28 Mar 2016 21:15:34 -0400
Subject: [PATCH] EntityPathfindEvent
@ -87,5 +87,5 @@ index 0000000..21cab26
+ }
+}
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From d8fc6b74a4f590473b3abad8958d0e929df6074f Mon Sep 17 00:00:00 2001
From dd1173b521819609b5a9625b4da4a464ef403db7 Mon Sep 17 00:00:00 2001
From: crast <contact@jamescrasta.com>
Date: Sat, 1 Jun 2013 13:52:30 -0600
Subject: [PATCH] Reduce thread synchronization in MetadataStoreBase
@ -101,5 +101,5 @@ index 093c144..64c0f0a 100644
for (Map<Plugin, MetadataValue> values : metadataMap.values()) {
if (values.containsKey(owningPlugin)) {
--
2.7.4
2.8.0

Datei anzeigen

@ -1,4 +1,4 @@
From 9bfe42cfc7f02966926c3dccc68b7dc85e3c25cc Mon Sep 17 00:00:00 2001
From 61a2f66cc4b6f90f0488d5f4f7df76153ddbbaf9 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Tue, 16 Jul 2013 21:26:50 -0400
Subject: [PATCH] Add MetadataStoreBase.removeAll(Plugin)
@ -37,5 +37,5 @@ index 64c0f0a..6da6abd 100644
* unique data from the subject with a metadataKey.
* <p>
--
2.7.4
2.8.0