added a minifier rule for tostring and tonumber, should reduce code size a fair bit

This commit is contained in:
Izaya 2017-05-25 00:57:10 +00:00
parent 4fb2fc0e0e
commit 45abd567de
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
tT,p,cT,pC,C,T={},1,1,1,coroutine,table
tT,p,cT,pC,C,T,TS,TN={},1,1,1,coroutine,table,tostring,tonumber
function E()
if tT[cT] ~= nil then return tT[cT][3] end
end

View File

@ -25,6 +25,8 @@ replacements={
{"%-%-.-\n",""},
{"coroutine%.","C."},
{"table%.","T."},
{"tostring","TS"},
{"tonumber","TN"},
}
for k,v in ipairs(replacements) do
while ss:find(v[1]) ~= nil do