Revert "shows total memory usage"

This reverts commit 1271ce96e8.
This commit is contained in:
Bradley Cicenas
2019-07-03 11:27:17 +00:00
parent eb8237cbb1
commit 54fc5ac5c6
3 changed files with 1 additions and 19 deletions

View File

@@ -17,16 +17,6 @@ type GridCursor struct {
func (gc *GridCursor) Len() int { return len(gc.filtered) }
func (gc *GridCursor) MemoryUsage() int64 {
var size int64
size = 0
for _, c := range gc.filtered {
size += c.MemUsage
}
gc.Reset()
return size
}
func (gc *GridCursor) Selected() *container.Container {
idx := gc.Idx()
if idx < gc.Len() {