1
爲什麼當我清除內部SuppressChangeNotifications時,ReactiveList與ChangeTrackingEnabled變慢?當我清除內部SuppressChangeNotifications時,爲什麼ReactiveList與ChangeTrackingEnabled緩慢?
對於10000個條目,Clear方法返回大約需要2秒。
不應該忽略更改跟蹤代碼SuppressChangeNotifications?
或者我該如何提高性能?
ReactiveList<Person> _personList = new ReactiveList<Person> { ChangeTrackingEnabled = true };
using (_personList.SuppressChangeNotifications())
{
_personList.Clear();
}
非常感謝。