]> git.lyx.org Git - lyx.git/commit
Remove performance bottleneck in getAuthors()
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 5 Jul 2024 12:05:26 +0000 (14:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 5 Jul 2024 12:05:26 +0000 (14:05 +0200)
commit8ba74fe9589fca3b00134e4d4f1fc130ad960c69
treeeed973afe5e59a3c734f87d31e64ee436ef56ea6
parent28f49c90dc1d23e2de3979bc8df60444a568c386
Remove performance bottleneck in getAuthors()

The regex is expensive which is especially noticeable with very long
author lists.

This introduces a case-insensitive subst() variant which is much faster.
src/BiblioInfo.cpp
src/support/lstrings.cpp
src/support/lstrings.h