Skip to content

Commit

Permalink
Removed some old GC statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Dec 12, 2024
1 parent dd938d5 commit cc4c12c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions modules/engine/objectindex.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package engine

var RememberedObjects, NukedObjects uint64

type ObjectID uint32

// var idToObject gsync.MapOf[uint32, uintptr]
Expand Down
2 changes: 0 additions & 2 deletions modules/engine/processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down

0 comments on commit cc4c12c

Please sign in to comment.