c# Programming Glossary: typehandledictionary
What is quicker, switch on string or elseif on type? http://stackoverflow.com/questions/94305/what-is-quicker-switch-on-string-or-elseif-on-type and 5 types Method Time of optimal If Else 179.67 100.00 TypeHandleDictionary 321.33 178.85 TypeDictionary 377.67 210.20 Switch 492.67 274.21.. and 10 types Method Time of optimal If Else 271.33 100.00 TypeHandleDictionary 312.00 114.99 TypeDictionary 374.33 137.96 Switch 490.33 180.71.. elements mode Random and 15 types Method Time of optimal TypeHandleDictionary 312.00 100.00 If Else 369.00 118.27 TypeDictionary 371.67 119.12..
|