Skip to content

costs: Unified cost model and strategy - #1441

Merged
TristonianJones merged 4 commits into
cel-expr:masterfrom
TristonianJones:cost-moves
Sep 10, 2026
Merged

costs: Unified cost model and strategy#1441
TristonianJones merged 4 commits into
cel-expr:masterfrom
TristonianJones:cost-moves

Conversation

@TristonianJones

Copy link
Copy Markdown
Collaborator

Introduce a unified cost model framework

This allows for the specification of cost semantics as a relationship between function arguments

  • Helpers for common case computations, such as O(n) or O(n^2)
  • Supports size tracking of recursive object structures
  • Self-consistent generated trackers and estimators
  • Flexible sizing strategies for runtime and check-time

@TristonianJones TristonianJones changed the title Unified cost model and strategy costs: Unified cost model and strategy Aug 31, 2026
Comment thread common/cost/model.go Outdated
dmitriplotnikov
dmitriplotnikov previously approved these changes Sep 1, 2026
@TristonianJones
TristonianJones merged commit 7eb2086 into cel-expr:master Sep 10, 2026
8 checks passed
@TristonianJones
TristonianJones deleted the cost-moves branch September 10, 2026 15:33
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.

2 participants