Module:Sandbox/Ahecht/benchmark: Difference between revisions

Content deleted Content added
return
string
Line 1:
local p = {}
 
function p.mainustring(frame)
for i = 1, 1000000 do
if mw.ustring.match(" abcde ",'%S') then
end
i = i
return "done"
end
end
 
function p.string(frame)
for i = 1, 1000000 do
string.match(" abcde ",'%S')
end
return "done"