POV-Ray : Newsgroups : povray.unofficial.patches : An updated povr tarball for Unix/Linux. b0bcf6c0 : Re: An updated povr tarball for Unix/Linux. b0bcf6c0 Server Time
7 Jul 2022 01:05:31 EDT (-0400)
  Re: An updated povr tarball for Unix/Linux. b0bcf6c0  
From: William F Pokorny
Date: 13 May 2021 08:54:12
Message: <609d2174$1@news.povray.org>
On 4/26/21 7:42 AM, William F Pokorny wrote:
> Ref:
> 
>
http://news.povray.org/povray.binaries.programming/message/%3C6086a32c%40news.povray.org%3E/#%3C6086a32c%40news.povray.org%3E

> 
> 
> Web message: 6086a32c@news.povray.org
> 
> ---

In working with Tor Olav's idea for a more accurate VAngle macro, I 
discovered the lower case identifier checking(1) is far too expensive 
when making a million calls to a macro with internal #local identifiers.

For now, I recommend configuration with --disable-no-lc-identifiers, if 
running scenes calling macros with internal identifiers a great many times.

Bill P.

(1) - I'm using c++11 regex at the moment. I've noted some complaints 
about performance of std regex, but whether it's that or just how our 
macros work in being re-read / interpreted on each call - I don't know. 
Might be significant expense is unavoidable and the case checking should 
not be the default behavior.


Post a reply to this message

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