Commit Graph

4680 Commits

Author SHA1 Message Date
themode
b821619a91 Improve replaceAll 2022-01-10 16:51:21 +01:00
themode
9c8fcc4286 Improve replaceAll 2022-01-10 16:51:21 +01:00
themode
592adccf81 Improve setAll with constant return 2022-01-10 16:51:21 +01:00
Eoghanmc22
8de5ba1149 use fixed seed for PaletteGetPresentBenchmark and add readAllPresentAlt benchmark 2022-01-10 16:51:21 +01:00
themode
3eb0bc28c0 Move commands 2022-01-10 16:51:21 +01:00
jglrxavpok
c46d7bf506 Use Hephaistos v2.4.0 to correctly handle world heights
Should fix https://github.com/Minestom/Minestom/issues/559
2022-01-10 16:51:21 +01:00
themode
c949bdd5ba maxIndex cleanup 2022-01-10 16:51:21 +01:00
themode
29017c1d9b Add PaletteGetPresentBenchmark 2022-01-10 16:51:21 +01:00
themode
51795ccbd1 Avoid second map operation 2022-01-10 16:51:21 +01:00
themode
edfcc50214 Avoid recomputing palette 2022-01-10 16:51:21 +01:00
themode
d93e302d2a Avoid memory barrier on replace 2022-01-10 16:51:21 +01:00
themode
c58d84bb5d Add Palette#getAllPresent 2022-01-10 16:51:21 +01:00
themode
fddd9dd934 Improve setAll constant write by 20% 2022-01-10 16:51:21 +01:00
themode
83621e2ece Use setAll for PaletteGetBenchmark 2022-01-10 16:51:21 +01:00
themode
4258e14c5f Another 20% improvement 2022-01-10 16:51:21 +01:00
themode
6827edb619 Improve getAll performance by 20% 2022-01-10 16:51:21 +01:00
themode
59f12e1c26 Optimize #replace 2022-01-10 16:51:21 +01:00
themode
dfeff36857 Optimize #replaceAll 2022-01-10 16:51:21 +01:00
themode
beb430af07 Fix OOB when retrieving blocks outside buildable area 2022-01-10 16:51:21 +01:00
Articdive
4b78e41ab4 Remove deprecated ResourcePack constructor. 2022-01-10 16:51:21 +01:00
themode
e468e027ba Fix broken count 2022-01-10 16:51:21 +01:00
themode
419c1a4a91 Improve setAll 2022-01-10 16:51:21 +01:00
TheMode
5bbf4642e8 Server process (#550) 2022-01-10 16:51:21 +01:00
themode
0bd736d837 Bench node children 2022-01-10 16:51:21 +01:00
themode
4f25333add Dead code 2022-01-10 16:51:21 +01:00
themode
812ea7bc07 Avoid array allocation 2022-01-10 16:51:21 +01:00
themode
9c11863f3e Optimize setAll 2022-01-10 16:51:21 +01:00
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