Commit 87d48c2
crypto/merkle: pre-allocate data slice in innherHash (tendermint#6443)
So we can reduce pressure on runtime for checking that slice has enough
capacity before appending.1 parent 21a3bbd commit 87d48c2
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
0 commit comments