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

Optimize away navigation paths to clafers with global cardinality <= 1 #75

Open
mantkiew opened this issue Sep 29, 2015 · 0 comments
Open
Assignees
Milestone

Comments

@mantkiew
Copy link
Member

Often in models with deeply nested structures, referring to a nested clafer requires long navigation paths, which contain costly . operations. However, when the referred clafer has global cardinality <= 1, then he path can be omitted and the clafer can be referred to globally.

For example

a
   xor b ?
      c 
      d
           e
[ a.b.d.e ]

can be optimized to

[ e ]

that is, e can be accessed the same way as a top-level clafer (e.g., a).

@mantkiew mantkiew self-assigned this Sep 29, 2015
@mantkiew mantkiew added this to the 0.4.2 milestone Sep 29, 2015
@mantkiew mantkiew modified the milestones: 0.4.3, 0.4.2 Oct 21, 2015
@mantkiew mantkiew modified the milestones: 0.4.4, 0.4.3 Dec 18, 2015
@mantkiew mantkiew modified the milestones: 0.4.5, 0.4.4 Jun 24, 2016
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

No branches or pull requests

1 participant