Re: [LyX/master] Move input method debug messages to Debug::KEY category

横田 宏治 <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
> 2026/04/12 1:20、Jean-Marc Lasgouttes via lyx-devel <[email protected]>のメール:
> 
> The only test that will occur is a test on an integer. The strings to display are not evaluated at all if not necessary. It could be a proplem for a code executed a million times per second, but here we are talking about one test by keystroke.
> 
> The traditional quote about this is
>  "The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming." --- Donald E. Knuth
> 
> So I would recommend removing the #ifdefs, and return to this issue if some efficiency issue is found.

JMarc, many thanks for your advice. As I didn’t have a good estimation of those time costs, I think now I can safely remove those macros :-)

Koji
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.