https://bugs.kde.org/show_bug.cgi?id=400687
Bug ID: 400687 Summary: Improve software components by reducing dynamic memory allocations Product: frameworks-ktexteditor Version: 5.51.0 Platform: Other OS: All Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: markus.elfr...@web.de Target Milestone: --- Some objects are created by using dynamic memory allocations. This approach has got consequences on the run time characteristics for the desired data processing. * The management of allocation requests needs additional computation resources. * These operations can eventually fail. Software development concerns can evolve around exception safety then. Thus omit them at selected source code places so that affected software components will become a bit safer and more efficient. Update candidates: * EditorPrivate https://github.com/KDE/ktexteditor/blob/14aa5fbf3722d1aad90a26952a87551c9daede0a/src/utils/kateglobal.cpp#L80 * GlobalState https://github.com/KDE/ktexteditor/blob/ac3c74dbc8a0b92f6e58993ce5744c5dec7912d6/src/vimode/globalstate.cpp#L34 * KateCompletionModel https://github.com/KDE/ktexteditor/blob/917e2109126daedf7f8b718ac4410d2f5bde37ac/src/completion/katecompletionmodel.cpp#L143 * PrintPainter https://github.com/KDE/ktexteditor/blob/917e2109126daedf7f8b718ac4410d2f5bde37ac/src/printing/printpainter.cpp#L72 -- You are receiving this mail because: You are watching all bug changes.