Module:PageData

From Bodhicitta

Documentation for this module may be created at Module:PageData/doc

--[[
	PROTOTYPE — NOT IN USE.

	Written to test whether batching SMW property lookups into one mw.smw.ask
	would speed up templates that call {{#show:}} many times for the same page.

	It does not. Measured on this wiki, one #invoke costs about 36ms against
	12ms for one #show, because Scribunto carries a fixed per-page startup cost
	and #show is already cheap and internally cached by SMW. Batching eight
	properties took 60ms via this module against 28ms with plain #show calls.

	Kept only as a record of the experiment. Do not adopt without re-measuring.
--]]

local p = {}
function p.get() return '' end
function p.any() return '' end
return p