Module:Sandbox/Johnuniq/testpre

-- How many dates can Scribunto fit in the allowed 50 MB of memory?

local Date = require('Module:Date')._Date

local function main(frame) local count = tonumber(frame.args[1]) or 31000 local jd = 2451545 local dates = {} for i = 1, count do		dates[i] = Date('juliandate', jd) jd = jd + 1 end return 'Number of dates = ' .. count end

return { main = main }