Commit Graph

77 Commits

Author SHA1 Message Date
embeddedt
fa9a3bb890
Avoid recreating arrays when computing block state cache 2023-01-28 11:19:39 -05:00
embeddedt
5c914deeb7
More experimental features 2023-01-28 10:56:50 -05:00
embeddedt
5c4e77b211
Enable class search cache 2023-01-28 10:13:39 -05:00
embeddedt
ccc3959328
Experimental multipart parallelizations 2023-01-28 10:06:13 -05:00
embeddedt
8e99cac6a7
Code cleanup 2023-01-28 08:29:48 -05:00
embeddedt
497393bf59
Adjust ArgsClassGenerator start index based on class cache 2023-01-28 08:27:38 -05:00
embeddedt
ba30b37552
Disable biome container compression when Chocolate Fix is installed 2023-01-22 21:10:02 -05:00
embeddedt
f2de12329e
Add model predicate flattening 2023-01-22 20:23:41 -05:00
embeddedt
6b28cb5ebc
Port biome palette and chunk section optimizations from Hydrogen 2023-01-22 20:11:03 -05:00
embeddedt
ad5fcf44e5
Add theoretical performance optimization for Scanner
Useless for now until I find a way of running transformers
before mods load
2023-01-22 18:56:43 -05:00
embeddedt
8cdc425d7d
Ensure the main thread does not spin when no tasks are available 2023-01-22 18:07:48 -05:00
embeddedt
a8df933e19
Add API to allow stopping already stopped AsyncStopwatch 2023-01-22 16:32:50 -05:00
embeddedt
23b4652864
Improve class transformer cache 2023-01-22 14:23:06 -05:00
embeddedt
95d7410722
Add FIXME note to MixinTransformerHasher 2023-01-22 12:47:37 -05:00
embeddedt
09ffb73a70
Don't clear blockstate cache field
This will break one of FerriteCore's optimizations
2023-01-21 21:15:24 -05:00
embeddedt
a800f6d704
Add ResourceLocation deduplication from Hydrogen 2023-01-21 21:15:13 -05:00
embeddedt
277ea384e7
Support injecting new transformer outside of dev 2023-01-21 20:31:34 -05:00
embeddedt
ac99791d3a
Deduplicate empty byte arrays 2023-01-21 12:39:27 -05:00
embeddedt
41eef0b6ab
New class transformer cache
Hashes individual mixins/coremods and therefore needs no special invalidation logic
2023-01-21 12:33:17 -05:00
embeddedt
bee6c6f272 Add config options to enable/disable the transformer cache and class search cache 2023-01-19 10:30:35 -05:00
embeddedt
abc7f77d44 Fix mixin warnings 2023-01-19 10:18:02 -05:00
embeddedt
cc953a2e88 Remove unused import 2023-01-19 10:05:26 -05:00
embeddedt
cf2c6a2b7e Disable location cache again (manual timing showed it's not effective) 2023-01-19 10:03:31 -05:00
embeddedt
802a0587c7
Enable class location cache 2023-01-19 08:57:52 -05:00
embeddedt
d2f5c4b15a
Implement class location cache 2023-01-18 20:55:35 -05:00
embeddedt
6dbf4b5a12 WIP 2023-01-18 09:45:11 -05:00
embeddedt
b806438bf9 Switch to not using service 2023-01-18 09:21:22 -05:00
embeddedt
c01ea4fcc4
WIP: class search improvements 2023-01-18 09:04:50 -05:00
embeddedt
c8a5d62e34
Initial implementation of transformer caching 2023-01-15 14:52:37 -05:00
embeddedt
b0a2da715e
Disable async JEI by default when Modern UI is installed 2023-01-14 19:51:47 -05:00
embeddedt
41ed759938
1.4.3 - correctly handle JEI plugins that throw errors when sending runtime
Fixes #9
2023-01-14 16:59:32 -05:00
embeddedt
9e3ae9d8c0
Make BakeReason more resilient 2023-01-12 21:32:19 -05:00
embeddedt
f4dfd428df
Use custom interruption flag for JEI reload thread
Fixes #5
2023-01-08 19:02:09 -05:00
embeddedt
df50f1e3a5
Turn off preloading of block classes
When enabled, the parallel DeferredRegister system should yield
the same result anyway.
2023-01-07 21:57:10 -05:00
embeddedt
572cbaf9bd
Make BlockColors thread-safe
Workaround for issues like https://github.com/vadis365/Mob-Grinding-Utils/issues/240,
as too many mods do this
2023-01-07 19:03:47 -05:00
embeddedt
24990ba089
Enable blockstate cache rebuild as it should be completely safe 2023-01-07 13:43:39 -05:00
embeddedt
d6a2760824
Disable risky parallel optimizations by default 2023-01-07 13:08:29 -05:00
embeddedt
933f495d64
Only prefill block suppliers 2023-01-07 13:07:56 -05:00
embeddedt
0062bc9bae
Make dispenser behavior registry thread-safe 2023-01-07 13:07:06 -05:00
embeddedt
9d0677a3d7
Make OrderedParallelModDispatcher more reliable 2023-01-07 13:06:53 -05:00
embeddedt
dd91031382
Cache all DeferredRegister suppliers 2023-01-07 12:49:07 -05:00
embeddedt
0fb6c71734
Refactor blockstate caching 2023-01-07 12:37:44 -05:00
embeddedt
9456eac7df
WIP: more parallelization 2023-01-07 11:11:43 -05:00
embeddedt
2525a64313
Move mod dispatching logic into its own class 2023-01-06 21:57:44 -05:00
embeddedt
5c0d23b2f0
Parallelize construction of DeferredRegister registry objects 2023-01-06 21:47:06 -05:00
embeddedt
c6323fd62e
Scan for all Block classes and preload them on worker threads
This helps move towards multithreading most VoxelShape computations
2023-01-06 16:50:52 -05:00
embeddedt
9ebeec6fc2
Fix crash on dedicated server 2023-01-06 14:31:15 -05:00
embeddedt
87b644834f
Adjust thread priorities 2023-01-06 14:31:09 -05:00
embeddedt
b0dfd4a4ef
Make reload thread name more useful for debugging 2023-01-06 11:01:54 -05:00
embeddedt
3695473283
Make JEILoadingInterruptedException an error so it propagates further 2023-01-06 10:59:48 -05:00