Commit Graph

4653 Commits

Author SHA1 Message Date
Articdive dee18150de Correctly implement JMH and fix singular Benchmarks not running. 2022-01-10 16:51:21 +01:00
themode e62bcc6dbb Optimize getAll 2022-01-10 16:51:21 +01:00
themode 2eae1e2cdc bulkAll and bulkAllOrder 2022-01-10 16:51:21 +01:00
Eoghanmc22 29bbc39a1a improve bit logic 2022-01-10 16:51:21 +01:00
themode 3aeb0690d8 Rework NamespaceID 2022-01-10 16:51:21 +01:00
themode f2e506c621 move mojang & namespace tests 2022-01-10 16:51:21 +01:00
themode 0e70613fb7 Add Palette#replace and Palette#replaceAll 2022-01-10 16:51:21 +01:00
themode 0148ad9aaf Optimize palette clear 2022-01-10 16:51:21 +01:00
themode 33e1b4b157 Ensure that loop order stays the same 2022-01-10 16:51:21 +01:00
themode 703255e786 test getAll for empty palette 2022-01-10 16:51:21 +01:00
themode 1556bf8586 Ensure bulk all methods get run one for each entry 2022-01-10 16:51:21 +01:00
themode 948073d291 Test bulk all operations 2022-01-10 16:51:21 +01:00
themode aac07c8ef1 Test palette size 2022-01-10 16:51:21 +01:00
themode 4a46065a67 Nitpicks 2022-01-10 16:51:21 +01:00
themode 0662a3c604 Add Palette#getAll and Palette#setAll 2022-01-10 16:51:21 +01:00
Eoghanmc22 9327dfaccf Fix Palette test 2022-01-10 16:51:21 +01:00
Eoghanmc22 a24cb665a9 Fix Palette 2022-01-10 16:51:21 +01:00
themode 375722be3b Add PaletteGetBenchmark 2022-01-10 16:51:21 +01:00
themode 4c31d73bbf Fix palette size when filling to 0 2022-01-10 16:51:21 +01:00
themode d4eaeffb30 Palette benchmarks 2022-01-10 16:51:21 +01:00
themode 7fb0ac8fd0 Better resize loop 2022-01-10 16:51:21 +01:00
themode 9689c89010 Add Palette#fill 2022-01-10 16:51:21 +01:00
themode cf93b39321 Reduce field access 2022-01-10 16:51:21 +01:00
themode 482db79378 Inline modulo 2022-01-10 16:51:21 +01:00
themode b4b6c333bf Remove valuesPerLong 2022-01-10 16:51:21 +01:00
themode 7af813ea72 Move tests 2022-01-10 16:51:21 +01:00
themode 053ed8cd3b Change shadowJar archive name 2022-01-10 16:51:21 +01:00
Mrln dcc079ed9c Fixed ArrayIndexOutOfBoundsException when placing or breaking a block close to max / min InstanceContainer height (#569) 2022-01-10 16:51:21 +01:00
Gatt 627bc14b56 Fix shaped recipe read (take 2) (#573) 2022-01-10 16:51:21 +01:00
themode 206d93ed1b Revert "fix declare shaped packet reader (#572)"
This reverts commit d94d07bead.
2022-01-10 16:51:21 +01:00
Gatt ca2d708a40 fix declare shaped packet reader (#572) 2022-01-10 16:51:21 +01:00
Gatt 2fff62efd2 Fix DeclareRecipePacket (#562) 2022-01-10 16:51:21 +01:00
themode a31f885cc7 Fix default tag value on blocks 2022-01-10 16:51:21 +01:00
themode 204089d53d acquire/release 2022-01-10 16:51:21 +01:00
themode 75b54e6302 Ensure proper buffer caching 2022-01-10 16:51:21 +01:00
themode e169b631d5 Test CachedPacket 2022-01-10 16:51:21 +01:00
themode 8a18913d32 Improve node test 2022-01-10 16:51:21 +01:00
Articdive 3089843cc9 Build system update (#527) 2022-01-10 16:51:21 +01:00
themode de817e5e52 Use acquire/release for node updating 2022-01-10 16:51:21 +01:00
TheMode da69526f49 Dispatcher testing (#570) 2022-01-10 16:51:21 +01:00
themode b79054f8e8 Opaque ordering for LazyPacket 2022-01-10 16:51:21 +01:00
themode 10d40dd19d Use opaque memory ordering for cached packets 2022-01-10 16:51:21 +01:00
themode 4b89ce33ee Add ArrayUtils#toMap 2022-01-10 16:51:21 +01:00
themode c2245f3915 Use local buffer to create chunks array 2022-01-10 16:51:21 +01:00
themode 7becd89b1d Test for ObjectArray 2022-01-10 16:51:21 +01:00
themode e87b3bf9c3 Outdated doc 2022-01-10 16:51:21 +01:00
Bloepiloepi d64c708c60 Use safeItemInsert() for inventory clearing (#566) 2022-01-10 16:51:21 +01:00
themode 8773e616fb Update dependencies 2022-01-10 16:51:21 +01:00
mworzala df8793fd44 make DiscoveredExtension#createClassLoader package private 2022-01-10 16:51:21 +01:00
mworzala b2cc430d99 oopsie 2022-01-10 16:51:21 +01:00