Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Sandbox/Johnuniq/testpre

From Wikipedia, the free encyclopedia
-- 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 }