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

Improving efficiency of normalize_EXT #6

Open
QinshiWang opened this issue Feb 6, 2023 · 0 comments
Open

Improving efficiency of normalize_EXT #6

QinshiWang opened this issue Feb 6, 2023 · 0 comments

Comments

@QinshiWang
Copy link
Collaborator

The tactic normalize_EXT is used to flatten extern predicates. For example, after unfolding an extern predicate, we have

(EXT
   [ExtPred.and
      (FilterRepr.filter_repr p index_w panes rows cf)
      (ExtPred.prop
         (filter_sim H_num_slots H_num_rows hashes
            tick_time f cf))])))

We get

(EXT
   [FilterRepr.filter_repr p index_w panes rows cf;
   ExtPred.prop
     (filter_sim H_num_slots H_num_rows hashes tick_time f
        cf)]))) Filter_fd []

after normalize_EXT.
But normalize_EXT is slow now. We want to optimize it, maybe just by taking out the part to rewrite to avoid rewriting cost proportion to the size of the whole goal.

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