diff options
Diffstat (limited to 'server/src/vm')
-rw-r--r-- | server/src/vm/value.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index 06a86e23..d765883e 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -424,9 +424,10 @@ function mt:eachInfo(callback) infos._count = #list infos._limit = infos._count * 1.1 + 10 infos._version = listMgr.getVersion() - table.sort(list, function (a, b) - return a._sort < b._sort - end) + --local clock2 = os.clock() + --table.sort(list, function (a, b) + -- return a._sort < b._sort + --end) local passed = os.clock() - clock if passed > 0.1 then log.warn(('eachInfo takes: [%.3f]sec, #list: %d'):format(passed, #list)) |