Skip to content

issues-fixed#169

Merged
asulwer merged 10 commits into
mainfrom
refactor-code
May 30, 2026
Merged

issues-fixed#169
asulwer merged 10 commits into
mainfrom
refactor-code

Conversation

@asulwer
Copy link
Copy Markdown
Owner

@asulwer asulwer commented May 30, 2026

many changes made which will improve speed significantly

asulwer added 10 commits May 29, 2026 11:54
…RuleByName

Rationale: It's a lookup-and-compile by identifiers, not by model.

2. *CompileRule(Rule rule, RuleExpressionType, ...)* → CompileRuleInternal or CompileRuleModel
Rationale: This is the thin wrapper around _ruleCompiler.CompileRule. I'd lean toward CompileRuleModel to indicate it takes a Rule model, but CompileRuleInternal also works since it's private and just delegates.

3. *CompileRuleWithRuleResults(...)* → CompileRuleWithReferences or CompileReferencedRule
Rationale: "RuleResults" is misleading — it's actually handling references to other rules' results and success events. CompileRuleWithReferences captures both.

4. *GetCompiledRule(...)* (bonus) → GetOrCompileRule
Rationale: It checks cache first, then falls back to compilation. "GetOrCompile" is more honest about what it does.
@asulwer asulwer merged commit c79340d into main May 30, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant