Skip to content

Cache subtype computations in KeYProgModelInfo#3944

Merged
unp1 merged 1 commit into
mainfrom
cache-subtypes
Jul 25, 2026
Merged

Cache subtype computations in KeYProgModelInfo#3944
unp1 merged 1 commit into
mainfrom
cache-subtypes

Conversation

@unp1

@unp1 unp1 commented Jul 25, 2026

Copy link
Copy Markdown
Member

Intended Change

Cache subtype relations of the Java model. Speeds up lookup in loading and proof search.
In general, but in particular because at each lookup JavaParser generates and uses pretty printed Strings
to decide assignability between types.

Type of pull request

  • There are changes to the (Java) code

Ensuring quality

  • I made sure that introduced/changed code is well documented (javadoc and inline comments).

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

Part of going through the remnants of different performance fixes.

Partially gnerated/identified with AI support.

@unp1 unp1 changed the title Cache subtype inheritances Cache subtype computations in KeYProgModelInfo Jul 25, 2026
@unp1 unp1 self-assigned this Jul 25, 2026
Comment thread key.core/src/main/java/de/uka/ilkd/key/java/KeYProgModelInfo.java
@unp1
unp1 enabled auto-merge July 25, 2026 11:47
@unp1
unp1 added this pull request to the merge queue Jul 25, 2026
Merged via the queue into main with commit da2d478 Jul 25, 2026
39 checks passed
@unp1
unp1 deleted the cache-subtypes branch July 25, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants