Barry Smith <[email protected]> writes:
>    XXSetFromOptions() should never be called where it actually cannot
>    do anything (besides checking lots of strings) because it has
>    already been called on the same configuration. And since the
>    options database hasn’t changed the options will be set but they
>    will be set with the exact same values as before.

Would it be enough to make the options database carry a version number
that was incremented on changes, cached by each object so that they can
quickly short-circuit?  It feels a bit dirty, but would be an easy way
to cut out that processing.  Or it could just be used to audit whether
options were being checked redundantly.

Attachment: pgpNGE0os5lDk.pgp
Description: PGP signature

Reply via email to