日常更新

This commit is contained in:
Dvel
2023-04-23 17:46:45 +08:00
parent 87940fd97e
commit 5fa65c613d
10 changed files with 1465 additions and 762 deletions

View File

@@ -62,10 +62,13 @@ function date_translator(input, seg, env)
cand.quality = 100
yield(cand)
end
-- -- 输出内存
-- local cand = Candidate("date", seg.start, seg._end, ("%.f"):format(collectgarbage('count')), "")
-- cand.quality = 100
-- yield(cand)
-- 输出内存
if input == "gccount" then
local cand = Candidate("date", seg.start, seg._end, ("%.f"):format(collectgarbage('count')), "")
cand.quality = 100
yield(cand)
end
-- if input == "xxx" then
-- collectgarbage()
-- local cand = Candidate("date", seg.start, seg._end, "collectgarbage()", "")