diff --git a/uppsrc/CtrlLib/ArrayCtrl.cpp b/uppsrc/CtrlLib/ArrayCtrl.cpp index cc33950f3..796d48c21 100644 --- a/uppsrc/CtrlLib/ArrayCtrl.cpp +++ b/uppsrc/CtrlLib/ArrayCtrl.cpp @@ -2439,7 +2439,6 @@ void ArrayCtrl::SortA() void ArrayCtrl::SortB(const Vector& o) { - DTIMING("SortB"); Vector narray; narray.SetCount(array.GetCount()); Vector nln; @@ -2489,8 +2488,7 @@ void ArrayCtrl::Sort(int from, int count, Gate order) for(int i = 0; i < array.GetCount(); i++) h.Add(i); SortA(); - { DTIMING("StableSort"); - StableSort(SubRange(h, from, count).Write(), order); } + StableSort(SubRange(h, from, count).Write(), order); SortB(h); Refresh(); SyncInfo(); @@ -2504,7 +2502,6 @@ void ArrayCtrl::Sort(Gate order) bool ArrayCtrl::OrderPred(int i1, int i2, const ArrayCtrl::Order *o) { - DTIMING("OrderPred"); return (*o)(array[i1].line, array[i2].line); } @@ -2525,7 +2522,6 @@ struct sAC_ColumnSort : public ValueOrder { Function cmp; virtual bool operator()(const Value& a, const Value& b) const { - DTIMING("Predicated"); return descending ? order ? (*order)(b, a) : cmp(b, a) < 0 : order ? (*order)(a, b) : cmp(a, b) < 0; }