Skip to content

Commit

Permalink
Change a lot of arguments to const references in core/gui
Browse files Browse the repository at this point in the history
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
  • Loading branch information
nyalldawson committed Oct 7, 2015
1 parent 33265e2 commit c49b5b7
Show file tree
Hide file tree
Showing 721 changed files with 2,288 additions and 2,291 deletions.