clara

2021-09-17T01:06:33.015400Z

You could have one session for the “static” rules. And have one query or a few to pull the derived facts you want from it out.

2021-09-17T01:07:11.016600Z

Then make a lighter weight second session they took those facts and had queries. But not sure this would help you. I think you just wanted something repl fast as you mentioned

2021-09-17T03:05:20.020900Z

Yeah I don't know what I want to change when deving, maybe rules and queries. I ended up making a wrapper that implemented ISession and accepted vars for the facts, records the inserts and retracts and has a "reload" method to make a new session with newly deref'd facts, playing back the recorded inserts/retracts.