Improve memory efficiency of getting store keys This is done by removing repeated appends, which will create a new slice if theres insufficient capacity, and instead creating a key of the correct size, and then copying the data into it. |
||
|---|---|---|
| .. | ||
| _store.md | ||
| delegation_test.go | ||
| delegation.go | ||
| hooks.go | ||
| keeper_test.go | ||
| keeper.go | ||
| key_test.go | ||
| key.go | ||
| query_utils.go | ||
| sdk_types.go | ||
| slash_test.go | ||
| slash.go | ||
| test_common.go | ||
| val_state_change.go | ||
| validator_test.go | ||
| validator.go | ||