feat(G2DDrawFont): implement caching for TextLayout to improve performance

chore(pom.xml): bump version to 1.0.21 and add Caffeine cache dependency
This commit is contained in:
extio-de
2026-06-17 14:33:10 +02:00
parent a758d264f5
commit ea3ed7e31d
2 changed files with 23 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.extio</groupId>
<artifactId>game-engine</artifactId>
<version>1.0.20</version>
<version>1.0.21</version>
<properties>
<java.version>25</java.version>
@@ -39,6 +39,10 @@
<artifactId>spring-boot-starter-jackson</artifactId>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>