POV-Ray : Newsgroups : povray.beta-test : Functions more than 65535 : Re: Functions more than 65535 Server Time
29 Jul 2024 12:25:09 EDT (-0400)
  Re: Functions more than 65535  
From: Thorsten Froehlich
Date: 12 May 2002 14:50:25
Message: <3cdeb971@news.povray.org>
In article <3cdea2bc@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>> What the hell are you doing with such complex function? ;-)
>
>   65535 functions and 128 recursion levels should be enough for anyone.

Long, long ago the limit was a sufficient 256 operations per function... :-)

> As well as 640 kilobytes of memory. ;)

No, the VM won't be too happy with such a small amount of memory - with 2^16
functions and 2^16 instructions per function and the instructions usually
taking 4 bytes each you end up with 16 GB...

But who needs 64 bit address space? ;-)


    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.