config listener API ...
tml at iki.fi
Thu Oct 8 00:38:16 PDT 2015
Crazy idea time.
I wonder, as the set of configuration parameters from the source tree in a
specific build is fixed, would it be possible to simply generate a large
(C++) struct containing all of them, populate one global such struct
variable on startup (or even at build time with the default values, then
just replacing ones that are modified by user at startup time), and have
those officecfg::* calls simply refer to fields in that struct? Would be
vastly faster than current code, and simpler (at run-time) than Michael's
Sure, would have the non-ideal effect that any modification to the
officecfg module would require recompilation of any code that calls
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice