neo-go/pkg/core/mempool
Roman Khimov 794027a90b mempool: use one slice for both priorities
It doesn't harm as we have transactions naturally ordered by fee anyway and it
makes managing them a little easier. This also makes slices store item itself
instead of pointers to it which reduces the pressure on the memory subsystem.
2020-02-06 15:43:45 +03:00
..
feer.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
mem_pool.go mempool: use one slice for both priorities 2020-02-06 15:43:45 +03:00
mem_pool_test.go mempool: use one slice for both priorities 2020-02-06 15:43:45 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00