|
|
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
|
|