-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unnecessary string modifications (#543)
Details at #543: - lvstring: drop `& operator []` accessors As they end up always being used, even for read-only lookup, triggering unnecessary calls to `modify()` strings. - crengine: avoid unnecessary use of `lStringXX:at(…)` Which could trigger a `modify()`. - lvstring: fix `lastChar/firstChar` implementations Don't use `at()`, which could trigger a call to `modify()`. - lvstring: drop `at()` methods Not used anymore.
- Loading branch information
1 parent
156d095
commit 22191fd
Showing
4 changed files
with
25 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters