Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualjwezorek

Posted 18 January 2013 - 02:34 PM

Are ObservableCollections in WPF implemented as linked lists or as arrays?

Basically, is random access into an ObservableCollection constant time?

(Yes, I've googled; can find no discussion of this anywhere. I need to maintain an ObservableCollection in sorted order and am trying to figure out if it is worth it to do a binary search)


#2jwezorek

Posted 18 January 2013 - 02:34 PM

Are ObservableCollections in WPF implemented as linked lists or as arrays?

Basically, is random access into an ObservableCollection constant time?

(Yes, I've googled; can find no discussion of this anywhere. I need to maintain an ObservableCOllection in sorted order and am trying to figure out if it is worth it to do a binary search)


#1jwezorek

Posted 18 January 2013 - 12:15 PM

Are ObservableCollections in WPF implemented as linked lists or as arrays?

Basically, is random access into an ObservableCollection constant time?

(Yes, I've googled; can find no discussion of this anywhere. I need to maintain an ObservableCOllection in sorted order and am trying to figure out if it is worth it to do a binary search on insert)

PARTNERS