Skip to main content
19 events
when toggle format what by license comment
Apr 9, 2015 at 19:15 answer added Graeme Bradbury timeline score: 1
Apr 9, 2015 at 10:52 vote accept Denis
Apr 8, 2015 at 1:02 answer added mjolka timeline score: 5
Apr 7, 2015 at 23:31 comment added Snowbody Please don't edit your code after it's originally been posted. That's against codereview.SE's policies. If want comments about a changed program, post a new question.
Apr 7, 2015 at 23:13 comment added Denis @GraemeBradbury, I get 300k objects, each have 18 properties, so ValueToString is called 5.4M times.
Apr 7, 2015 at 22:53 history edited Denis CC BY-SA 3.0
added 1749 characters in body
Apr 7, 2015 at 9:52 comment added Graeme Bradbury Can you give details on timings? since my profiling shows ValueToString takes ~0.001ms to execute... Which implies it's execution count that's causing the perf issues.
Apr 7, 2015 at 7:56 answer added Snowbody timeline score: 1
Apr 6, 2015 at 23:23 answer added Rossco timeline score: 3
Apr 6, 2015 at 9:33 answer added Bruno Costa timeline score: 3
Apr 6, 2015 at 5:20 history tweeted twitter.com/#!/StackCodeReview/status/584948892678168576
Apr 6, 2015 at 0:07 comment added Denis No, TryCast works fast. Slowest lines are: return ((int)value).ToString("X"); (before my optimisation it was value_Enum.ToString("d") -- worked 2 times slower, now is slow too) and return value_decimal.ToString("0.############################", CultureInfo.InvariantCulture);.
Apr 5, 2015 at 22:56 comment added Malachi it's probably your TryCast<T>() method. why would you do that for Decimal and a Long? I am pretty sure that both of those have their own method for that.
Apr 5, 2015 at 20:59 comment added Denis Linq-to-SQL, but this place works regardless of OR/M.
Apr 5, 2015 at 20:31 history edited Mathieu Guindon CC BY-SA 3.0
deleted 17 characters in body; edited title
Apr 5, 2015 at 20:15 comment added Mathieu Guindon Which ORM is involved exactly?
Apr 5, 2015 at 20:12 history edited Denis CC BY-SA 3.0
added 62 characters in body
Apr 5, 2015 at 19:56 review First posts
Apr 5, 2015 at 21:28
Apr 5, 2015 at 19:55 history asked Denis CC BY-SA 3.0