Commit cbe0355
Avoid array allocation in DSL::Parameters#with
Replace `[@group, opts].compact.reduce(&:deep_merge)` with
`@group&.deep_merge(opts) || opts` to avoid allocating a temporary
array on every `with` block call.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 166d459 commit cbe0355
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments