Skip to content

Commit 5654ec4

Browse files
authored
Very nice performance improvements (#1096)
This commit can reduce warm compilation times by up to 80%, depending on the project. It makes Wurst future-proof for large projects and future language updates. - Use uncompressed mpq storage because compression is a bottleneck for big maps with tons of imports - Using uncompressed for runmap only, compressing on buildmap - Better/Safer caching for compiletime results - With `-noExtractMapScript` option the `war3map.j` no longer gets forcefully reparsed on every runmap command (it's already part of the model) - Use iteration instead of recursion in places where StackOverflows happened - Reduce a lot of string allocation garbage, which reduces GC churn - Use SCC for worklist algorithm - Remove TestNG suite usage, just run all tests. Fixed tests that didn't run. Added new tests - Added RealRealMixed rewrites and tests - Java 25 now required
1 parent e96e226 commit 5654ec4

File tree

155 files changed

+6454
-3773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+6454
-3773
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
docker:
99
# specify the version you desire here
10-
- image: cimg/openjdk:11.0
10+
- image: cimg/openjdk:25.0
1111

1212
# Specify service dependencies here if necessary
1313
# CircleCI maintains a library of pre-built images

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up JDK 17
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: 17
19+
java-version: 25
2020
distribution: 'zulu' # Alternative distribution options are available
2121
- name: Cache Gradle packages
2222
uses: actions/cache@v3

de.peeeq.wurstscript/META-INF/MANIFEST.MF

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)