Closed tbe closed 2 years ago
Just a few optimizations that should make the code more readable and increase the performance in some cases:
string literals
raw string literals
static
const
override
virtual
const &
size()
empty()
0
nullptr
and some other very minor changes.
I grouped the changes by their nature in commits, so cherry picking should be easy.
Details, why i think these changes are nice are in the individual commit messages.
I close this PR in favor of a major cleanup and rework of the codebase
Just a few optimizations that should make the code more readable and increase the performance in some cases:
string literals
withraw string literals
where quoting was required beforestatic
/const
where possibleoverride
instead ofvirtual
for derived objectsconst &
size()
withempty()
where possible0
withnullptr
for ptr typesand some other very minor changes.
I grouped the changes by their nature in commits, so cherry picking should be easy.
Details, why i think these changes are nice are in the individual commit messages.