which is better?

Im just confuse about memoryusage and textmemory

A.use many function in one sence

A.a

  1. local functions = {}
  2. function functions.running (event)
  3. end
  4. function functions.running_1 (event)
  5. end
  6. function functions.running_2 (event)
  7. end
  8. function functions.running_3 (event)
  9. end

A.b

  1. local function running (event)
  2. end
  3. local function running_1 (event)
  4. end
  5. local function .running_2 (event)
  6. end
  7. local function running_3 (event)
  8. end

_________________________________________________________________________________

B.declaring variables

B.a

  1. local value_1 = 0
  2. local value_2 = 1
  3. local value_3 = “text”

B.b

  1. local value ={
  2.           value_1 = 0,
  3.           value_2 = 1,
  4.           value_3 = “text”,
  5.                     }

_____________________________________________________________________________

and Just want to ask what is the normal memoryuse and textmem?

here’s my code checking  it

  1. local function checkmem()
  2.    collectgarbage()
  3.    print(“MemUsage: " … collectgarbage(“count”)/1000 … " MB”)  
  4.    local textMem = (system.getInfo( “textureMemoryUsed” ) / 1000000)
  5.    print( "TexMem:   " … textMem )
  6. end
  7. timer.performWithDelay(3000, checkmem, 0)

Im I doing well ??..then im getting 1.6++ MB for memUsage and i think 39.+++ for textmemoryUsed