POV-Ray : Newsgroups : povray.programming : Memory leak in pvbmp.c (POV-Ray windows version) : Re: Memory leak in pvbmp.c (POV-Ray windows version) Server Time
28 Jul 2024 12:32:21 EDT (-0400)
  Re: Memory leak in pvbmp.c (POV-Ray windows version)  
From: Vahur Krouverk
Date: 6 Mar 2001 02:53:24
Message: <3AA49794.EE1A823F@aetec.ee>
Vahur Krouverk wrote:
> 
> Additionally, this code could be more effective, if instead of
> calculating same expression for buffer size 3 times it is calculated

Ouch, this should be:
.. for buffer size 2 + *height times it is calculated

> Moreover, for() loop is
> unneccessary, instead fwrite could be used with count parameter (2nd
> parameter) equal to *height.

And this is complete nonsense. Disregard this part of my message.


Post a reply to this message

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