github.com/MetalBlockchain/metalgo@v1.11.9/utils/constants/memory.go (about)

     1  // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package constants
     5  
     6  // PointerOverhead is used to approximate the memory footprint from allocating a
     7  // pointer.
     8  const PointerOverhead = 8