Files
qt-creator/tests/manual/shootout
hjk 2b7c83bfbf Tests: Add a shootout test for implementations of operator==
That's for a structure mimicking QMakeStepConfig, comparing
a.x == b.x && a.y == b.y ... with
std::tie(a.x, a.y, ...) == std::tie(b.x, b.y, ...)

Executive summary: gcc 4.9.1 optimizes the traditional == && == better.
This is solely due to the sequence of four bools in the struct.

Change-Id: I77cc8d685c6b7b7ead651cd1f44ff1b2e9b39f3d
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-03-23 12:09:45 +00:00
..

This "test" is to experiment with code constructs to
get an impression on code size etc.