语言核心
表与数据
元编程
运行模型
工程化
宿主集成
综合
附录
04-strings
04-strings/02-concat-cost/_test.lua
lua · 0.3 KB
-- @runtimes lua54 luajit local h = require("harness") local m = require("main") h.describe("拼接成本", function() h.it("table.concat 明显更快", function() local result = m.run(function() end) h.eq(result.concat_faster, true) end) end) h.run()
该文件由构建期采集,未做任何改写;源码页不进入搜索引擎索引。