]> git.lyx.org Git - lyx.git/commit
Cleanup and (maybe) speedup InsetMathChar::mathClass
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 15 Jul 2023 21:26:31 +0000 (23:26 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 15 Jul 2023 21:29:24 +0000 (23:29 +0200)
commitd8e509e5ebb7890f1f62bf8731cf445782cb6bc2
treef978c3d924c989627c8973204e21c38fa9c47fbd
parent99f972e2c4494c308546091d0f5e6ba107214415
Cleanup and (maybe) speedup InsetMathChar::mathClass

Profiling with hotspot show that it counts for more than it should and
indeed using support::contains is a overkill here. I like the new code
better anyway.

I would be surprised to see that it makes a big difference, though.
src/mathed/InsetMathChar.cpp