Closed nilp0inter closed 6 years ago
For each yielded fact on DefFacts constructs the engine is calling __declare while it can be called only once with a composed generator, resulting in only one __update_agenda call instead of n.
__declare
__update_agenda
https://github.com/buguroo/pyknow/blob/1aed48fd456209ad58d4d0aeb4188e98cfcbb780/pyknow/engine.py#L189-L192
This is related to #12.
For each yielded fact on DefFacts constructs the engine is calling
__declare
while it can be called only once with a composed generator, resulting in only one__update_agenda
call instead of n.https://github.com/buguroo/pyknow/blob/1aed48fd456209ad58d4d0aeb4188e98cfcbb780/pyknow/engine.py#L189-L192
This is related to #12.