OSDN Git Service

optimize expandVariableReferences()
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 14 Jan 2010 17:02:22 +0000 (18:02 +0100)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 25 Jan 2010 15:53:56 +0000 (16:53 +0100)
commit714e981c692930b1b7fae4e6970efe9d3931154d
tree9767cdc3e91772571847cf0d13676e3cc98fd9de
parent48d15b8a66760fb567c766f908111fb189f44e40
optimize expandVariableReferences()

- nest conditionals properly to avoid unnecessary tests
- avoid usage of QString::append(QChar) to save allocations
src/shared/proparser/profileevaluator.cpp