Thread:Extension talk:Scribunto/Check whether title exists, otherwise load data/reply (7)


 * 1) "The only expensive call is during first #invoke, when the table needs to be loaded. For all followed hundreds invokes accessing the data in the same page the mw.loadData shall return results almost immediately."
 * 2) * I believe that is correct from what I have read as well... we are still calling mv.loadData with each invoke - the 1st being heavy duty and the remaining being faster.
 * 3) "There isn't a way to test if mw.loadData has already loaded a module...."
 * 4) * Agree, from one invocation (invoke) to another on the same page (inner code) there is no test if a module (table) has previously been loaded ....
 * 5) * However; within a module you can test if mw.loadData has loaded a module (table) or not and identify that condition .... thus having the capability of loading a table later should you need to. Very simple example: http://en.wikipedia.org/wiki/Module_talk:Sandbox/Matroc/TestmvloadData