POV-Ray : Newsgroups : povray.unofficial.patches : Why does POV-Ray allocate so many memory blocks for textures? : Re: Why does POV-Ray allocate so many memory blocks for textures? Server Time
28 Jun 2024 14:56:20 EDT (-0400)
  Re: Why does POV-Ray allocate so many memory blocks for textures?  
From: Ray Gardener
Date: 9 Jun 2003 15:32:08
Message: <3ee4e0b8$1@news.povray.org>
Cool. Speaking of 4.0, are there any notes
describing what changes are planned and
how they will be approached?

--
Ray


"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3ee4deda@news.povray.org...
> In article <3ee4dcf2@news.povray.org> , "Ray Gardener"
> <ray### [at] daylongraphicscom> wrote:
>
> > Okay, so we've established that there is no genuinely
> > useful reason why so many blocks are allocated.
> > The code is only the way it is because of legacy reasons.
> >
> > For long-term maintenance, I just feel it would be
> > better to simplify the code than to leave it
> > complicated. Even if there's no performance increase,
> > it would make the code easier to understand, and
> > put less stress on the memory manager. As one
> > of POV-Ray's stated goals is to be an educational tool,
> > simplifying the code would help students, would it not?
> > What's the point of having unnecessary obsfucation
> > in an educational tool? Perhaps it might be a waste
> > of programmer time, but what about students' time?
> > And what if the existing code imparts the wrong lesson?
> >
> > At the very least, put in a comment saying
> > "This code is overly complex. Given the choice,
> > we would have implemented it this way..."
>
> There is hardly a reason to improve code in 3.5 by rewriting it to make it
> better when it will be thrown away in 4.0 anyway.  And many legacy pieces
of
> code will be thrown away.
>
> In short: If it ain't broken, don't fix it.  Especially if you will
replace
> it completely in the next release anyway...
>
>     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.