Board Thread:General Discussion/@comment-45534093-20200420135043

Hi!

Here I learn we can use Lua to use as a DB, like the TableWiz example (i canvert the data to arrays): --                    AR DF Pow TS Slid Mass Bal AV return { ["166 MM"]    = {6.0, 40, 850, 60, 0.5, 400, 0.95, 5.5}, ["208 GTB-t"] = {5.2, 80, 1485, 65, 0.125, 605, 1.05, 5.5}, ["250 GTO"]   = {4.5, 80, 1450, 65, 0.4, 630, 1.15, 5.5}, ["250 GT SWB"] = {6.0, 60, 950, 60, 0.5, 430, 0.95, 5.5}, ["288 GTO"]   = {4.7, 80, 1520, 65, 0.2, 610, 1.05, 5.5}, ["312 P"]     = {4.8, 80, 1350, 65, 0.1, 600, 1.05, 4.0}, ["330 GTC"]   = {5.6, 65, 1150, 65, 0.25, 635, 1.05, 5.5}, ["330 GT 2+2"] = {5.7, 65, 1150, 65, 0.35, 655, 1.05, 5.5"} } Now, lets think, when i have this data i always will do some specific calcs, but only 1 time, to avoid recalc all again and again i wold like to recognize the new file or if it has changed, then, do the thing i need, like, "plus the first and last element" just to put something, and save this in a file, and this, last constructed file, will be used in the next Lua files or the wikis.

It feels like a cache page, because is constructed ones but updated when is needed.

Thx! 