Content deleted Content added
Line 105:
<source lang="Lua">
=require 'Module:Timing'(function() return p.hello(mw.getCurrentFrame()) end)
</source>
In general you should precompute as much as possible to avoid unnecessary computations inside the loop, like this
<source lang="Lua">
my_frame=mw.getCurrentFrame()
=require 'Module:Timing'(function() return p.hello(my_frame) end)
</source>
|