mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
remove unnecessary capacity in make()
This commit is contained in:
parent
0e38eae6e3
commit
68dec9c60a
1 changed files with 1 additions and 1 deletions
2
cache.go
2
cache.go
|
|
@ -505,7 +505,7 @@ func NewNopCache() *NopCache {
|
|||
func (c *NopCache) Add(id uint64, n uint64) {}
|
||||
func (c *NopCache) BulkAdd(id uint64, n uint64) {}
|
||||
func (c *NopCache) Get(id uint64) uint64 { return 0 }
|
||||
func (c *NopCache) IDs() []uint64 { return make([]uint64, 0, 0) }
|
||||
func (c *NopCache) IDs() []uint64 { return make([]uint64, 0) }
|
||||
|
||||
func (c *NopCache) Invalidate() {}
|
||||
func (c *NopCache) Len() int { return 0 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue