POV-Ray : Newsgroups : povray.off-topic : Reflections on employment : Re: Reflections on employment Server Time
29 Jul 2024 02:25:59 EDT (-0400)
  Re: Reflections on employment  
From: Orchid Win7 v1
Date: 4 Dec 2012 14:08:56
Message: <50be4a48@news.povray.org>
>> Not exactly taxing, eh?
>
> Of course there are many ways to approach this in C# and most other
> languages. Using LINQ and and working in decimal datatype without error
> handling:
>
> private List<decimal> ParseAndSortValuesFromString1(string text)
> {
> return text.Split(' ').Select(s => Decimal.Parse(s)).OrderBy(s =>
> s).ToList();
> }

According to one of the guys I work with, "LINQ is great and everything, 
but it makes the code extremely slow". Does anybody have any actual 
/facts/ with which to confirm or refute this? I would have expected 
there to be a fairly minimal speed difference...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.