POV-Ray : Newsgroups : povray.off-topic : Speed comparison between C# and C++ : Re: Speed comparison between C# and C++ Server Time
1 Oct 2024 07:22:59 EDT (-0400)
  Re: Speed comparison between C# and C++  
From: Warp
Date: 17 Apr 2008 07:18:54
Message: <4807321e@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:
> Thinking this might be an effect of the frequent allocation / 
> deallocation of new arrays, I switched the C++ version to preallocate 
> the arrays.

  Which version did your zip file contain?

  It's certainly not a good idea to create, resize and destroy 6 vectors
at each iteration.

-- 
                                                          - Warp


Post a reply to this message

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