POV-Ray : Newsgroups : povray.programming : Question about creating arrays : Re: Question about creating arrays Server Time
28 Jul 2024 12:37:04 EDT (-0400)
  Re: Question about creating arrays  
From: Wlodzimierz ABX Skiba
Date: 13 Dec 2000 12:11:34
Message: <3a37adc6@news.povray.org>
Warp wrote in message <3a37ac14@news.povray.org>...
>  Is there any more efficient way of creating an array than allocating each
>item separately and putting a pointer in the array?


allocate block for whole array at once and
write set of pointers by simple adding size of each element to pointer of
block - but this need change at destroy function of array, I think

ABX


Post a reply to this message

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