POV-Ray : Newsgroups : povray.beta-test : Cached Macros! : Re: Cached Macros! Server Time
29 Apr 2024 07:48:30 EDT (-0400)
  Re: Cached Macros!  
From: clipka
Date: 18 Jul 2016 17:05:10
Message: <578d4486$1@news.povray.org>
Am 18.07.2016 um 19:49 schrieb Jaime Vives Piqueres:

>   Ok, revised results with "everything inside" (copy-paste of 3 macros
> from rand.inc"):
> 
>   current alpha : 1m20s
>   previous alpha: 1m20s

What happens if you put >512 bytes between the macro declarations and
the place where they're invoked?

>   kinda logical, isn't?

No, not necessarily.

With the new version, macros are always executed from the cache (unless
they're larger than 64k), while previously they were executed from
buffered file access. The two approaches involve different types of
overhead, so I'd normally expect them to actually result in at least
slightly different execution times.


Post a reply to this message

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