~dyams/unity-2d/update-launcher-context-menu

Viewing all changes in revision 790.

  • Committer: Tarmac
  • Author(s): Albert Astals
  • Date: 2011-11-24 15:34:03 UTC
  • mfrom: (789.1.1 foreachconstref)
  • Revision ID: tarmac-20111124153403-p037jibq133f9ip4
[code] Add const & for foreach "iterators"

Avoids a copy of each object. It is true that most of those objects are
implicitly shared so the win isn't huge but we still save some atomic/mutex/something locking

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: