Re: [ADVANCED-DOTNET] Specifying an initial capacity hurts performance [was Benchmark]

2002-07-05 Thread David Ferguson
On Thu, 4 Jul 2002 11:44:48 -0700, David Ferguson <[EMAIL PROTECTED]> wrote: On Fri, 5 Jul 2002 09:33:58 -0600, Brad Wilson <[EMAIL PROTECTED]> wrote: >In your previous message, you mentioned you were using unmanaged C++. How, >then, are you "boxing" anything in

Re: [ADVANCED-DOTNET] Specifying an initial capacity hurts performance [was Benchmark]

2002-07-05 Thread David Ferguson
On Fri, 5 Jul 2002 20:19:30 +1000, Nick Wienholt <[EMAIL PROTECTED]> wrote: >I am seeing something very different from your results. > >1. An initial capacity is much better for performance. (x3 better for no >boxing) That is odd. It is most definitely a wash on my system (even a few ms slower

Re: [ADVANCED-DOTNET] Specifying an initial capacity hurts performance [was Benchmark]

2002-07-05 Thread David Ferguson
>This is particularly true when JIT compilation is >involved. Good point about the JIT. I hadn't considered that. You mentioned JIT here. I was comparing unmanaged C++ to managed C#. That is, no /clr on the C++ code. You weren't using /clr in your test, right? >knew - benchmarks don't neces

Re: [ADVANCED-DOTNET] IDE quirks

2002-07-03 Thread David Ferguson
You can also organize these 'linked' files into a folder. I have been using a folder 'libsrc'. It is a little weird because the IDE will create a physical folder, but it doesn't actually contain any files. David - Original Message - From: "Mike Woodring" <[EMAIL PROTECTED]> To: <[EMAIL