Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Lightweight Collections

Lightweight Collections

Scheduled Pinned Locked Moved C#
questioncssperformance
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    OldDog Net
    wrote on last edited by
    #1

    I have a grid control that takes an IList, ITypedList or IBindingList object as a DataSource. I'm currently using a System.Data.DataTable and the performance is pretty dismal. I've isolated the bottle neck as being the build of the DataTable. My question is, which of the various data collections is the lightest weight and most efficient? Thanks. -- modified at 14:10 Thursday 8th December, 2005

    D 1 Reply Last reply
    0
    • O OldDog Net

      I have a grid control that takes an IList, ITypedList or IBindingList object as a DataSource. I'm currently using a System.Data.DataTable and the performance is pretty dismal. I've isolated the bottle neck as being the build of the DataTable. My question is, which of the various data collections is the lightest weight and most efficient? Thanks. -- modified at 14:10 Thursday 8th December, 2005

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      An IList implementation is the lightest of the three. But, why is filling your DataTable taking so long? I ask because if it's an inefficient process, you'll run into the same lag when filling an IList object. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 17:18 Thursday 8th December, 2005

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups