Merge lp:~aacid/qtmir/unlikelyResetStartTime into lp:qtmir
Proposed by
Albert Astals Cid
on 2016-01-07
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2016-01-07 |
| Approved revision: | 431 |
| Merged at revision: | 446 |
| Proposed branch: | lp:~aacid/qtmir/unlikelyResetStartTime |
| Merge into: | lp:qtmir |
| Prerequisite: | lp:~aacid/qtmir/timestampsInPast |
| Diff against target: |
16 lines (+3/-3) 1 file modified
src/common/timestamp_impl.h (+3/-3) |
| To merge this branch: | bzr merge lp:~aacid/qtmir/unlikelyResetStartTime |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2016-01-07 | Approve on 2016-01-07 | |
| Albert Astals Cid | Pending | ||
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-12-15.
Commit Message
Provide branch prediction information to the if in compressTimestamp
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
Prerequisite
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
To post a comment you must log in.

This seems a pretty hot path and 99.999% of the times the if evaluates to false so i thought it might make sense telling the compiler to optimize for that.