Commit 3460630
Only allocate array if required (buger#173)
My benchmarking showed that this array was actually leaking to the heap. Narrowing its scope in the hope of it not escaping, but also limiting its allocation only to cases where it is actually required.1 parent bf1c66b commit 3460630
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
980 | 980 | | |
981 | 981 | | |
982 | 982 | | |
983 | | - | |
984 | 983 | | |
985 | 984 | | |
986 | 985 | | |
| |||
1034 | 1033 | | |
1035 | 1034 | | |
1036 | 1035 | | |
| 1036 | + | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
| |||
0 commit comments