performance improvement
This commit is contained in:
@@ -674,7 +674,7 @@ local methods = {
|
||||
self.isSorted = nil
|
||||
self:SetSelectedRecord(nil, true)
|
||||
|
||||
sort(self.records, function(a, b) return sorting.multi_lt(temp-A(a.search_signature, tostring(a)), temp-A(b.search_signature, tostring(b))) end)
|
||||
sort(self.records, function(a, b) return sorting.multi_lt(a.search_signature, b.search_signature, tostring(a), tostring(b)) end)
|
||||
|
||||
local records = self.records
|
||||
if getn(records) == 0 then return end
|
||||
|
||||
Reference in New Issue
Block a user