9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-20 23:49:31 +00:00
Commit Graph

546 Commits

Author SHA1 Message Date
Dreeam
97c3e50b84 [ci skip] Update patch comment for Use faster and thread-safe ban list date format parsing 2024-11-20 10:37:46 -05:00
Dreeam
487a9ff9b6 Drop Branchless clamp logic due to performance regression
The java internal implementation of Math#min / max is faster, due to the `@IntrinsicCandidate`, enables the JIT compiler to use native method for more efficient performance.

**Only for** reference: (Added asterisk marks to avoid people who can't see)

| Benchmark            | Mode  | Cnt | Score     | Error    | Units  |
|----------------------|-------|-----|-----------|----------|--------|
| clampInline   | thrpt | 5   | 37046.833 | ±454.413 | ops/ms |
| clampInternal | thrpt | 5   | 37355.122 | ±362.992 | ops/ms |
2024-11-20 10:20:04 -05:00
Kobe ⑧
3b827802bd Cleanup Lithium patches & Faster distanceTo & Optimize worldgen math (#166)
* dbqq

* Cleanup patch

* uwu

* import now back

* include info in patch header

* FMA for distanceTo

* Add detailed headers
2024-11-19 13:41:23 -05:00
Dreeam
27134f699a Added some optimizations (#164)
* uwu

* reorder

* Change author

* Sync upstream

* Lithium: equipment tracking

* Faster CraftServer#getworlds list creation

Co-Authored-By: Kobe ⑧ <102713261+HaHaWTH@users.noreply.github.com>
2024-11-14 06:50:59 -05:00
Kobe ⑧
fa9c4a78a7 Added region based comment (#165)
* Region based comment helper functions

* (Region based comment) Dont save entity

* (Region based comment) Pufferfish DAB

* (Region based comment) Cache EntityType

* (Region based comment) Cache EntityType

* (Region based comment) Pufferfish EntityTTL

* (Region based comment) Faster sequence

* (Region based comment) FastRNG

* (Region based comment) 0042

* (Region based comment) 0721

* (Region based comment) 0009

* (Region based comment) V1rtUal tHReaD

* (Region based comment) ZSSM

* [ci skip] (Region based comment) 0079

* [ci skip] (Region based comment) 0089 0090

* [ci skip] (Region based comment) 0049 0118 0138

* [ci skip] (Region based comment) 0006 0017 0018 0080 0081

* [ci skip] (Region based comment) 0019 0038 0059 0108 0117 0127

* ALL PATCHES ARE DONE

* [ci skip] NZDD
2024-11-14 06:40:57 -05:00
Dreeam
7eaacd480e [ci skip] Another cleanup 2024-11-12 11:56:24 -05:00
Dreeam
3842aa3d63 Drop Remove stream in PlacedFeature
Co-Authored-By: Kobe ⑧ <102713261+HaHaWTH@users.noreply.github.com>
2024-11-12 09:20:15 -05:00
Kobe ⑧
a3e3e983cf Remove stream in PlacedFeature (#163) 2024-11-11 19:17:08 -05:00
Dreeam
aa4cd01137 Fix hiding sentry dsn key in spark profiler 2024-11-11 07:31:48 -05:00
Dreeam
5c162fc7ed Some cleanup 2024-11-11 04:34:42 -05:00
Dreeam
126eb3b778 [ci skip] Forget to add 0 2024-11-11 03:10:01 -05:00
Dreeam
1f789577e2 Use faster and thread-safe ban list date format parsing 2024-11-11 03:04:13 -05:00
Dreeam
eb237c3aad [ci skip] Another cleanup 2024-11-10 23:45:58 -05:00
Dreeam
88579f1c2a Fix build 2024-11-10 17:43:41 -05:00
Dreeam
e9f5738e97 [ci skip] Reorder patches 2024-11-10 17:34:53 -05:00
Dreeam
5365c49680 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@1e0ebad Clean up
Dreeam-qwq/Gale@9ce20fa throw MissingPaletteEntryException for null entries in hash palette
Dreeam-qwq/Gale@751637d Final clean up imports
2024-11-10 17:20:40 -05:00
Kobe ⑧
75e6fdd01d Fix Secure Seed (#161)
Now it can be used without making a new save >_<
2024-11-10 16:02:56 -05:00
Kobe ⑧
7d1afa27ab Fix patches (#159)
* Fix patches

* Cleanup lithium patches
2024-11-10 13:04:58 -05:00
Kaan D.
972d46cde7 Replace world map with optimized collection (#158) 2024-11-10 09:32:36 -05:00
Kobe ⑧
848fb2dc4d Smart sorting & Remove streams & Throttle hopper (#157)
* =-=

* Reuse comparator

* Cleanup DAB patch
2024-11-10 09:25:58 -05:00
Kaan D.
cca144f3c7 Added some optimizations (#154)
* DivineMC - Lithium: Early checks for LivingEntity#updateSwingTime and updateFallFlying

* C2ME-Reduce-Allocations

* Lithium-fast-util

* Lithium-CompactSineLUT

* Compact-SineLUT

* some lithium patches

* Create 0141-Use-MCUtil.asyncExecutor-for-MAIN_WORKER_EXECUTOR.patch

* Fix tick function & Better inline world height

* improve the clamp logic by 1.2x

* Remove imports on IterateOutwardsCache

* Remove imports from 141

* Rename getCachedOrNewBits to CachedOrNewBitsGetter

* Remove thread instanceof checks

---------

Co-authored-by: kidofcubes <kidofcubes@gmail.com>
2024-11-09 12:51:27 -05:00
Dreeam
0e27d48042 Fix wrong entity behavior in fluid caused by inconsistent fluid count 2024-11-09 02:15:07 -05:00
Dreeam
055222d866 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@7ac2d0e Drop improve fluid direction caching
2024-11-09 02:10:33 -05:00
HaHaWTH
cff7d959f4 Fix 2024-11-08 02:01:24 +08:00
HaHaWTH
141016de21 Merge remote-tracking branch 'origin/ver/1.21.1' into ver/1.21.1 2024-11-08 01:50:43 +08:00
Kobe ⑧
859a1cc7e6 Better event check for MultithreadedTracker and AsyncLocator (#150)
* Better event check
2024-11-06 17:49:08 -05:00
Kobe ⑧
6fff957697 TT20 lag compensation (#148)
* TT20 lag compensation

* Move to misc
2024-11-03 11:07:38 -05:00
Dreeam
62dce93d9a [ci skip] Rebuild 2024-11-03 10:21:48 -05:00
Dreeam
040e45c57f Temp drop these two patches to fix issue 2024-11-03 10:21:08 -05:00
Dreeam
c7c1b99652 Moonrise: block counting optimisations 2024-11-02 22:55:10 -04:00
Dreeam
4cb40ef9a4 Cache chunk key 2024-11-02 22:23:33 -04:00
Dreeam
f5b34ce525 Cache tile entity position 2024-11-02 22:23:27 -04:00
Dreeam
bdf2694bfa Canvas: Use VT executor for noise generating 2024-11-02 22:23:20 -04:00
Dreeam
df81c81406 EMC: Don't use snapshots for TileEntity::getOwner 2024-11-02 22:23:13 -04:00
Dreeam
1377914fdb Moonrise: optimise palette reads 2024-11-02 22:23:06 -04:00
Dreeam
bfcfe3d4a4 Moonrise: fluid method optimisations 2024-11-02 22:22:58 -04:00
Dreeam
664bc74870 Moonrise: Optimise countEntries for low size SimpleBitStorage 2024-11-02 22:22:45 -04:00
Dreeam
dfad4e73b0 Moonrise: Do not send chunk radius packet from PlayerList#setViewDistance 2024-11-02 22:22:30 -04:00
Dreeam
4a72284330 Moonrise: Bitstorage optimisations 2024-11-02 22:22:23 -04:00
Dreeam
8b2be87845 Bump dependencies 2024-11-02 22:21:56 -04:00
HaHaWTH
6d03fd8926 Move to misc 2024-11-02 15:12:37 +08:00
HaHaWTH
98973726b3 TT20 lag compensation 2024-11-02 15:04:08 +08:00
Dreeam
2d152a074d Revert replacing active effect map to fastutil map 2024-11-02 02:43:01 -04:00
Kobe ⑧
a4f6b92573 Cleanup Async Pathfinding code (#147)
* Working on fix Async Pathfinding (Stage 1)

* No need to extend TickThread
2024-11-02 02:19:12 -04:00
HaHaWTH
96ff2c8f74 No need to extend TickThread 2024-11-02 01:44:02 +08:00
HaHaWTH
ad2ea6b458 Revert "No need to extend TickThread"
This reverts commit e9d0f31f92.
2024-11-02 00:29:55 +08:00
HaHaWTH
e9d0f31f92 No need to extend TickThread 2024-11-02 00:22:35 +08:00
HaHaWTH
821cddefe8 Working on fix Async Pathfinding (Stage 1) 2024-11-01 20:26:04 +08:00
Dreeam
64e3cd9fd8 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@bf80567 Updated Upstream (Paper)
Dreeam-qwq/Gale@eb399bb Remove eobf-mappings-patch.tiny

Paper Changes:
PaperMC/Paper@7f7bc17 Fix inactive item ticking and remove active tick skipping; fix quit event leave message
PaperMC/Paper@4d2672e Fix the fix
PaperMC/Paper@84281ce Don't count mobs twice in per-player-mob-spawns
2024-11-01 05:34:09 -04:00
Kobe ⑧
4cbc1af547 Add dontEnableIfInWater option to DAB (#144)
* Add dontEnableIfInWater option to DAB

* Check using EntityTypeTag

* Simplify condition

* remove import
2024-10-30 11:47:32 -04:00