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. On choosing the apt datastructure

On choosing the apt datastructure

Scheduled Pinned Locked Moved C#
helpcsharpcryptographytutorial
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.
  • U Offline
    U Offline
    User 4753359
    wrote on last edited by
    #1

    Hi, I am currently stuck up with an issue as to how to select a data structure for my application. i will have around 16,00000 entities to be stored and one from them has to be retrieved. So i make use of the hashTable class in dotnet. Now i would like to know whether the hash-table has any limitations.

    S 1 Reply Last reply
    0
    • U User 4753359

      Hi, I am currently stuck up with an issue as to how to select a data structure for my application. i will have around 16,00000 entities to be stored and one from them has to be retrieved. So i make use of the hashTable class in dotnet. Now i would like to know whether the hash-table has any limitations.

      S Offline
      S Offline
      sunspeed
      wrote on last edited by
      #2

      If the count of entities is dynamic, but can grow up to 1600000 items, you should use the HybridDictionary. It stores the name/value pairs in an very efficient way. This Dictionary uses the ListDictionary for small count of items and switches automatically to Hashtable if the count grows to a large amount of items. (Sorry, i dont know the Limit when this happens) Hope this helps

      Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.

      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