POV-Ray : Newsgroups : povray.programming : URGENT: FRAME structure : Re: URGENT: FRAME structure Server Time
28 Jul 2024 20:30:17 EDT (-0400)
  Re: URGENT: FRAME structure  
From: Thorsten Froehlich
Date: 22 Aug 2000 05:48:57
Message: <39a24c89@news.povray.org>
In article <39a24878@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

> : True, but guess which solution runs much faster?  Growing the stack rarely
> : causes much overhead, while each call to malloc will take noticeable time.
>
>   But you don't have to call malloc() for each item you want to put on the
> "stack". You can reserver space for more than one item at once.

Yes, if you have the memory resources to burn.  And POV-Ray isn't exactly
the most memory efficient program already.  Or, in  general, imagine the
programmers of the embedded system in your mobile phone would use resources
that carelessly.


     Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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