local function prequire(name) local success, result = pcall(require, name); return success and result end1local bench = script and require(script.Parent.bench_support) or prequire("bench_support") or require("../bench_support")23function test()4local t = {}56local max = 100007local iters = 5000089for i = 1,iters do10local is = tostring(i)11local input = string.rep(is, 1000 / #is)1213t[is] = input1415-- remove old entries16if i > max then17t[tostring(i - max)] = nil18end19end20end2122bench.runCode(test, "GC: hashtable keys and values")232425