Files
lnd/channeldb/graph_cache_test.go
Oliver Gugger a95a3728b5 lnd+channeldb: pre-allocate cache size
To avoid the channel map needing to be re-grown while we fill the cache
initially, we might as well pre-allocate it with a somewhat sane value
to decrease the number of grow events.
2021-09-29 17:00:05 +02:00

3.8 KiB