From cc4c12ce488926e90135491692938fb2becc40bc Mon Sep 17 00:00:00 2001 From: Lars Karlslund Date: Thu, 12 Dec 2024 18:14:25 +0100 Subject: [PATCH] Removed some old GC statistics --- modules/engine/objectindex.go | 2 -- modules/engine/processing.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/modules/engine/objectindex.go b/modules/engine/objectindex.go index 26ca4f3..75ae3bf 100644 --- a/modules/engine/objectindex.go +++ b/modules/engine/objectindex.go @@ -1,7 +1,5 @@ package engine -var RememberedObjects, NukedObjects uint64 - type ObjectID uint32 // var idToObject gsync.MapOf[uint32, uintptr] diff --git a/modules/engine/processing.go b/modules/engine/processing.go index 8c0a3fc..98fa6dd 100644 --- a/modules/engine/processing.go +++ b/modules/engine/processing.go @@ -196,8 +196,6 @@ func Merge(aos []*Objects) (*Objects, error) { ui.Info().Msgf("After merge we have %v objects in the metaverse (merge eliminated %v objects)", aftermergetotalobjects, totalobjects-aftermergetotalobjects) runtime.GC() - runtime.GC() - ui.Info().Msgf("We freed %v objects", NukedObjects) var orphans int processed := make(map[ObjectID]struct{})