Click here to Skip to main content
15,892,199 members
Articles / Programming Languages / C#

Efficiently Using Lists as Dictionary Keys in C#

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
24 Feb 2020MIT4 min read 30.5K   158   12  
A relatively safe, simple, yet high performance technique for using lists as dictionary keys.
Using collections as dictionary keys is sometimes necessary, but it can be a performance killer and unsafe. Here's how to make it faster and safer.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions