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

Constant bindings #18

Open
2 of 3 tasks
comnik opened this issue Oct 25, 2018 · 1 comment
Open
2 of 3 tasks

Constant bindings #18

comnik opened this issue Oct 25, 2018 · 1 comment

Comments

@comnik
Copy link
Member

comnik commented Oct 25, 2018

We should add support for constant bindings in ...

  • predicates
  • function expressions
  • rule expressions

For predicates and function expressions support is rather straight-forward, but for rules we can spend some more time thinking about how to do it efficiently. A first idea was to turn constant bindings to rule inputs into predicates that are then pushed down as far as possible into the rule body itself, to avoid unnecessary materialziation of tuples.

@bachdavi
Copy link
Member

  • Add possible explicit :ValueType

For example unix timestamps (> ?t {:Instant 132352525}) for things that cannot be inferred.

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

2 participants