¡@

Home 

c# Programming Glossary: lookups

Dns.BeginGetHost… methods blocking

http://stackoverflow.com/questions/11480742/dns-begingethost-methods-blocking

time I had this same problem with slow synchronous DNS lookups I eventually just used a large ThreadPool to get the job done..

Is the conditional operator slow?

http://stackoverflow.com/questions/2259741/is-the-conditional-operator-slow

statements and almost two times slower than dictionary lookups. Am I missing something essential here or is the conditinoal..

Trying to run multiple HTTP requests in parallel, but being limited by Windows (registry)

http://stackoverflow.com/questions/2960056/trying-to-run-multiple-http-requests-in-parallel-but-being-limited-by-windows

The challenge is however that I have to do lots of these lookups a couple of thousands and I would like to limit the time needed...

Early and late binding

http://stackoverflow.com/questions/484214/early-and-late-binding

an effect on performance. Because late binding requires lookups at runtime it is usually means method calls are slower than..

Covariance and IList

http://stackoverflow.com/questions/5832094/covariance-and-ilist

So is anyone aware of a collection that supports index lookups that is also covariant I would like to not create my own. Thanks..

Modify Struct variable in a Dictionary

http://stackoverflow.com/questions/6255305/modify-struct-variable-in-a-dictionary

tile Note that this is also avoiding doing multiple lookups for no good reason which your original code was doing. Personally..

This code returns distinct values. However, what I want is to return a strongly typed collection as opposed to an anonymous type

http://stackoverflow.com/questions/7336275/this-code-returns-distinct-values-however-what-i-want-is-to-return-a-strongly

Set T to hold the unique items which uses hashing for O 1 lookups. Also GetHashCode can quickly tell you if two objects may be..

Query extremely slow in code but fast in SSMS

http://stackoverflow.com/questions/7637907/query-extremely-slow-in-code-but-fast-in-ssms

are using index seeks for the look ups so they are fast lookups. The program is behaving as if it is not using the indexes for..

foreach + break vs linq FirstOrDefault performance difference

http://stackoverflow.com/questions/8214055/foreach-break-vs-linq-firstordefault-performance-difference

part of discussion here Start timer and execute 1 million lookups on random days within maximum date range as seen in results.. IterationLookup class. Start timer and execute 1 million lookups on random days within maximum date range as seen in results.. LinqLookup class. Start timer and execute 1 million lookups 6 times using manual foreach break loops and Linq calls. As..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

to hold all the client connections but if you need faster lookups for larger lists you can write it however you want. private..

Overriding GetHashCode for mutable objects? [C#]

http://stackoverflow.com/questions/873654/overriding-gethashcode-for-mutable-objects-c

based on are mutable Also what if I do want dictionary lookups etc to be based on reference equality not my overridden Equals.. with the bad behavior. Also what if I do want dictionary lookups etc to be based on reference equality not my overridden Equals..

Optimizing Lookups: Dictionary key lookups vs. Array index lookups

http://stackoverflow.com/questions/908050/optimizing-lookups-dictionary-key-lookups-vs-array-index-lookups

Lookups Dictionary key lookups vs. Array index lookups I'm writing a 7 card poker hand evaluator.. Lookups Dictionary key lookups vs. Array index lookups I'm writing a 7 card poker hand evaluator as one of my pet.. was shocked to find that the performance of Dictionary key lookups was quite slow compared to array index lookups. For example..

What is more efficient: Dictionary TryGetValue or ContainsKey+Item?

http://stackoverflow.com/questions/9382681/what-is-more-efficient-dictionary-trygetvalue-or-containskeyitem

words what is more efficient i.e. which one performs less lookups Dictionary int int dict ... int ival if dict.ContainsKey ikey..