Commit ed3f6a2
committed
Move FormatterModifier after TransModifier and ListModifier
Positioning FormatterModifier later in the chain allows TransModifier and
ListModifier to handle their specific pipes first. Since FormatterModifier
attempts to create a formatter for any pipe it encounters, this change
avoids unnecessary formatter creation attempts for known modifiers like
`|trans` and `|list`, improving performance.
Assisted-by: OpenCode (GLM-4.7)1 parent f730ef0 commit ed3f6a2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments