Commit 5632e93
gh-133968: Add fast path to PyUnicodeWriter_WriteStr() (GH-133969)
Don't call PyObject_Str() if the input type is str.
(cherry picked from commit fe9f6e8)
Co-authored-by: Victor Stinner <[email protected]>
1 parent 69b4387 commit 5632e93
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13954 | 13954 | | |
13955 | 13955 | | |
13956 | 13956 | | |
13957 | | - | |
| 13957 | + | |
| 13958 | + | |
| 13959 | + | |
| 13960 | + | |
| 13961 | + | |
| 13962 | + | |
13958 | 13963 | | |
13959 | 13964 | | |
13960 | 13965 | | |
| |||
0 commit comments