POV-Ray : Newsgroups : povray.off-topic : Reflections on employment : Re: Reflections on employment Server Time
29 Jul 2024 04:16:32 EDT (-0400)
  Re: Reflections on employment  
From: Warp
Date: 5 Dec 2012 09:22:22
Message: <50bf589e@news.povray.org>
Orchid Win7 v1 <voi### [at] devnull> wrote:
>    public List<Int> foobar(String s)

Btw, why return a list?

I know that memory allocation in C# is probably faster than it is
in C++, but it still feels odd to use a list instead of something more
memory-efficient (which C# most certainly ought to support) and faster
to access. What possible advantage could there be in using a list of
ints?

Are you transferring your customs of using lists from Haskell to C#?

-- 
                                                          - Warp


Post a reply to this message

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