Lua编程注意事项

1,尽量避免使用全局变量,多使用local。

2,自定义列表,加上自己的引用计数。

3,自定义类中包含了table,要在初始化时清空。

posted @ 2015-04-29 10:46  tornado2014  阅读(309)  评论(0)    收藏  举报