Commit 30ace25
committed
Optimize: Initialize Jinja template in __init__ instead of __call__ to avoid redundant parsing
Signed-off-by: JamePeng <[email protected]>1 parent baa60ae commit 30ace25
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2808 | 2808 | | |
2809 | 2809 | | |
2810 | 2810 | | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
| 2815 | + | |
| 2816 | + | |
2811 | 2817 | | |
2812 | 2818 | | |
2813 | 2819 | | |
| |||
2931 | 2937 | | |
2932 | 2938 | | |
2933 | 2939 | | |
2934 | | - | |
2935 | | - | |
2936 | | - | |
2937 | | - | |
2938 | 2940 | | |
2939 | 2941 | | |
2940 | 2942 | | |
2941 | 2943 | | |
2942 | 2944 | | |
2943 | | - | |
| 2945 | + | |
2944 | 2946 | | |
2945 | 2947 | | |
2946 | 2948 | | |
| |||
0 commit comments