4 -- |
4 -- |
5 -- This project is MIT/X11 licensed. Please see the |
5 -- This project is MIT/X11 licensed. Please see the |
6 -- COPYING file in the source package for more information. |
6 -- COPYING file in the source package for more information. |
7 -- |
7 -- |
8 |
8 |
9 local t_insert, t_sort, t_remove, t_concat |
9 local t_insert, t_sort, t_remove, t_concat |
10 = table.insert, table.sort, table.remove, table.concat; |
10 = table.insert, table.sort, table.remove, table.concat; |
11 |
11 |
12 local array = {}; |
12 local array = {}; |
13 local array_base = {}; |
13 local array_base = {}; |
14 local array_methods = {}; |
14 local array_methods = {}; |
15 local array_mt = { __index = array_methods, __tostring = function (array) return array:concat(", "); end }; |
15 local array_mt = { __index = array_methods, __tostring = function (array) return array:concat(", "); end }; |