POV-Ray : Newsgroups : povray.unofficial.patches : My personal wishlist : Re: My personal wishlist Server Time
2 Sep 2024 22:17:00 EDT (-0400)
  Re: My personal wishlist  
From: Margus Ramst
Date: 28 Feb 2000 18:13:51
Message: <38BB01AA.936C948F@peak.edu.ee>
Mark Wagner wrote:
> 
> I've been working on "malloc", "realloc", and "free" macros.  However, the
> current version of "realloc" is very slow, since it works by creating a new
> array and copying the old one into it.
> 

Yes, I've done that too, out of necessity.
It's slow, plus you want to resize it as seldom as possible so you must waste
memory on unnecessarily large arrays.

Margus


Post a reply to this message

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