Ryan Bullock

Results 5 comments of Ryan Bullock

@antonmedv Even though the trace showed all the cpu in the checker it is actually a problem in the patching phase. Looks like there is some special logic around the...

@antonmedv I can try to write up a patch for this, just not sure on the approach to take. How do you feel about splitting any patcher that satisfies the...

@antonmedv Please see pull request #658 which fixes part of the problem. The remaining issue is that an operator patcher applying causes **all** patchers to re-run, which makes the assumption...

There was some similar discussion around this for the `ValueGetter` patcher here: https://github.com/expr-lang/expr/pull/487#discussion_r1414454923 Off the top of my head `time.Duration` and `time.Time` both support `fmt.Stringer`, so automatic conversion might be...

@jippi You could take a look at https://pkg.go.dev/github.com/expr-lang/[email protected]/patcher/value and see if that does what you want (specifically implementing https://pkg.go.dev/github.com/expr-lang/[email protected]/patcher/value#StringValuer).