~ubuntu-sdk-team/ubuntu-ui-toolkit/literalStringReplace

Viewing all changes in revision 2112.

  • Committer: Tarmac
  • Author(s): Loïc Molinari
  • Date: 2016-09-20 06:24:44 UTC
  • mfrom: (2090.1.14 uitk-test)
  • Revision ID: tarmac-20160920062444-cjh9ih4lwzotqqbl
Optimised QString code gen for ASCII strings known at compile-time.

That allows the compiler to optimise our code better by putting all these QStrings known at compile time in the .rodata section of the binary as well as preventing a bunch of useless processing on them. That also allows us to remove "DEFINES -= QT_ASCII_CAST_WARNINGS" from the UbuntuToolkit pro file.

Approved by ubuntu-sdk-build-bot, Zsombor Egri.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: