Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuir: Add caching for FUIR.accessedClazzesDynamic #2723

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

fridis
Copy link
Member

@fridis fridis commented Mar 13, 2024

This call requires about 20% of the DFA analysis time when applied to (AdventOfCode 18 Dec)[https://github.com/fridis/fuzion_aoc/blob/main/2023/18/part2.fz], with caching this is no longer measurable using -XjavaProf.

Also made the implementation itself more efficient using a TreeSet instead of a List, but this change has beome irrelevant with the caching.

This call requires about 20% of the DFA analysis time when applied to
(AdventOfCode 18 Dec)[https://github.com/fridis/fuzion_aoc/blob/main/2023/18/part2.fz], with caching this is no longer measurable using `-XjavaProf`.

Also made the implementation itself more efficient using a `TreeSet` instead of
a `List`, but this change has beome irrelevant with the caching.
@fridis fridis added enhancement New feature or request middle end related to the Middle End that creates Fuzion Application from Fuzion Modules labels Mar 13, 2024
@michaellilltokiwa michaellilltokiwa merged commit 637a05a into main Mar 14, 2024
5 checks passed
@michaellilltokiwa michaellilltokiwa deleted the caching_for_FUIR_accessedClazzesDynamic branch March 14, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request middle end related to the Middle End that creates Fuzion Application from Fuzion Modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants