OpenResty LuaJIT 进阶和高级用法
OpenResty LuaJIT 进阶和高级用法
- 数据结构table
- 1.1 lua标准table 库函数
- 1.1.1 table.getn 获取元素个数
- 1.1.2 table.remove 删除指定元素
- 1.1.3 table.concat 元素拼接函数
- 1.1.4 table.insert 插入一个元素
- 1.2 LuaJIT 的 table 扩展函数
- 1.2.1 table.new(narray, nhash) 新建 table
- 1.2.2 table.clear() 清空 table
- 1.3 OpenResty 的 table 扩展函数
- 1.3.1 table.nkeys
- 元表metatable
还没有评论,来说两句吧...