Commit 4846a03
committed
Perl_do_print: use S_uiv_2buf for faster IV stringification
`Perl_do_print`'s pre-existing method for stringification of an IV within
an SVt_IV involves creating a temporary SVt_PV, using `sv_vcatpvfn_flags`
to do the stringification, then freeing the SVt_PV once the buffer has
been written out.
This is considerably slower than using `S_uiv_2buf`, the helper
function used by `sv_2pv_flags`. So this commit modifies `Perl_do_print`
to use `sv_2pv_flags`.1 parent b61ecc7 commit 4846a03
2 files changed
+31
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2205 | 2205 | | |
2206 | 2206 | | |
2207 | 2207 | | |
2208 | | - | |
2209 | | - | |
2210 | | - | |
2211 | | - | |
2212 | | - | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
2213 | 2227 | | |
2214 | 2228 | | |
2215 | 2229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1938 | 1938 | | |
1939 | 1939 | | |
1940 | 1940 | | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
1941 | 1953 | | |
1942 | 1954 | | |
1943 | 1955 | | |
| |||
1970 | 1982 | | |
1971 | 1983 | | |
1972 | 1984 | | |
1973 | | - | |
1974 | | - | |
1975 | 1985 | | |
1976 | 1986 | | |
1977 | 1987 | | |
| |||
2034 | 2044 | | |
2035 | 2045 | | |
2036 | 2046 | | |
2037 | | - | |
2038 | 2047 | | |
2039 | 2048 | | |
2040 | 2049 | | |
| |||
0 commit comments