Click here to Skip to main content
15,565,403 members

Comments by Alexander Sharykin (Top 10 by date)

Alexander Sharykin 12-Nov-14 2:07am View    
Reason for my vote of 1 \n Did you really explain anything? I don't think so.
The only way to use this tip&trick is to do a great amount of "copy-paste" operations, which should be avoided.
Alexander Sharykin 16-Oct-14 5:16am View    
Reason for my vote of 2 \n time chooser looks fine and works correct, but TimeChooser class is too long (12345 rows only for functionality of color switching. even resize is not supported). it definitely needs refactoring. custom drawing should work fine.
Alexander Sharykin 30-Sep-14 4:13am View    
Reason for my vote of 1 \n LINQ method Join() EXists
Alexander Sharykin 27-Jun-14 3:00am View    
Reason for my vote of 3 \n your where() extension measurement is incorrect. you forgot about one cool LINQ feature - Deferred Execution. and in examples 2 linqRows ARE NOT ENUMERATED so you get less than 1 second results.
in example 3 linqRows are enumerated, so it took much longer time. I suppose ElementAt(0) works fine

some thoughts:
why not to use Dictionary <string, DescrRow> and just pick up description by name: var descr = dict[name]; ?
Alexander Sharykin 27-Jun-14 2:35am View    
Reason for my vote of 2 \n your select() and where() extensions measurements are incorrect. you forgot about one cool LINQ feature - Deferred Execution. and in examples 1 and 2 selectRows and linqRows ARE NOT ENUMERATED so you get less than 1 second results.
in example 3 linqRows are enumerated, so it takes much longer time. I suppose ElementAt(0) works fine
most time in select example was taken by string.Format and cast operations, in where example - by string.Format

some thoughts:
why not to use Dictionary <string, DescrRow> and just pick up description by name: var descr = dict[name]; ?