Skip to content

gabinortega/RowDictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RowDictionary

  • Accepts any type as Key
  • Accepts any type as Value
  • Implements IEnumerable
  • Allows access using [] operator
  • When requesting a key if it isn't found throws an Exception
    • but you can use TryGetValue instead
  • By default strings are compared Case Insensitive
    • but you can define you own comparer just use StringComparer for strings or implement IComparer for any type of data and initialize RowDictionary with it.
  • Optimizes Reads over Writes
    • Sorting when adding a new key and value, and
    • Using BinarySearch when Getting a new value

(Tentative) Next Steps

  • By default strings are compare Case Insensitive
    • but you can define you own comparer just implement IComparer and initialize RowDictionary wit it.
  • Optimize Reads over Writes
    • Sorting when adding a new key and value, and
    • Using BinarySearch when Getting a new value

Next Steps

  • Add an example
  • Implement IDictionary

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages