Commit 043a9f3
committed
Perl_sv_grow_fresh - set SvLEN before calling malloc
The compiler stands a better chance of optimising the function
this way around.
(e.g. A gcc build reduces from 20 instructions down to 15.)1 parent 08b6158 commit 043a9f3
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | 1503 | | |
1507 | 1504 | | |
1508 | 1505 | | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
1509 | 1510 | | |
1510 | 1511 | | |
1511 | 1512 | | |
| |||
0 commit comments