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

Dfa optimizations only one valueset #4399

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

fridis
Copy link
Member

@fridis fridis commented Dec 4, 2024

No description provided.

fridis added 30 commits December 4, 2024 13:35
- For certain clazzes, do not create ValueSet but, in case of a set, use one
  global set for all sets.

- For cetain clazzes, do not create separate Instances depending on context, but
  create only one single instance

- Do not create ValueSets of RefValue of the same clazz, but instead create
  RefValue of ValueSet, i.e., instead of

    {boxed(v1), boxed(v2)}

  create

    boxed({v1,v2})

All these can be enabled by static fields in DFA

  static boolean ONLY_ONE_VALUE_SET = false;
  static boolean ONLY_ONE_INSTANCE  = false;
  static boolean NO_SET_OF_REFS     = false;
_universe is used only to hold fields of the universe.
First time I see HelloWorld <800ms
Many calls used to be created due to many different environments, even if
effects form those different environments were never used.

For a simle HelloWorld, this redecues the number of calls form 965 to 546. I
expect a higher reduction for larger examples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant