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

more than 200 LHS where clauses make knowledge building really slow #66

Closed
andbi opened this issue Sep 19, 2023 Discussed in #65 · 0 comments
Closed

more than 200 LHS where clauses make knowledge building really slow #66

andbi opened this issue Sep 19, 2023 Discussed in #65 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@andbi
Copy link
Collaborator

andbi commented Sep 19, 2023

Discussed in #65

Originally posted by rohan3usturge September 18, 2023
knowledge
.newRule()
.forEach("$a", SomeVeryLargeClass.class "$b",Result.class)
.where(...more than 200 clauses)
.execute(ctx -> {
Result result = ctx.get("$b");
result.updateSuccess(true);
}

execute is really slow

Can you help how can I optimize this ?

@andbi andbi added the enhancement New feature or request label Sep 19, 2023
@andbi andbi self-assigned this Sep 19, 2023
@andbi andbi added the bug Something isn't working label Sep 25, 2023
andbi added a commit to andbi/evrete that referenced this issue Sep 27, 2023
@andbi andbi closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant