Module:Sandbox/AuronTest/ComparisonTables: Difference between revisions

adding some quick attempts at garbage collection to see if that does anything to the number
m (magicDefenceBonus Ranged -> Magic icon)
(adding some quick attempts at garbage collection to see if that does anything to the number)
Line 241: Line 241:


   table.insert(resultPart, '\r\n|}')
   table.insert(resultPart, '\r\n|}')
  --Attempting some garbage collection
  itemList.__mode = "kv"
  itemList = nil
   return table.concat(resultPart)
   return table.concat(resultPart)
end
end
Line 296: Line 301:
   end
   end


   return p._getEquipmentTable(itemList).."[[Category:getEquipmentTable]]"
   local result = p._getEquipmentTable(itemList).."[[Category:getEquipmentTable]]"
 
  --Attempting some garbage collection
  itemList.__mode = "kv"
  itemList = nil
 
  return result
end
end


Line 346: Line 357:
     end)
     end)


   return p._getEquipmentTable(itemList, includeModifiers, includeDescription)
   local result = p._getEquipmentTable(itemList, includeModifiers, includeDescription)
 
  --Attempting some garbage collection
  itemList.__mode = "kv"
  itemList = nil
 
  return result
end
end