POV-Ray : Newsgroups : povray.general : Plea for a PoV-Ray binary scene format : Re: Plea for a PoV-Ray binary scene format Server Time
6 Aug 2024 02:21:24 EDT (-0400)
  Re: Plea for a PoV-Ray binary scene format  
From: Thorsten Froehlich
Date: 9 Aug 2002 14:18:23
Message: <3d54076f@news.povray.org>
In article <3d4961d7@news.povray.org> , "Philippe Lhoste" <Phi### [at] GMXnet>
wrote:

> In my idea, this data would have been already parsed, saving a lot of time,
> and a bit of memory.

You are falling into the old trap that POV-Ray parsing is slow because the
parser is slow.  This is not the reason.  The slowdown occurs when building
the scene in memory via dynamically allocated memory.  Dynamic allocation of
lots and lots of (rather small) objects is simply slow with default
allocators.  The parser is fairly fast.

    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.