Skip to content

Part of move-exercise is optimized-away #16

@xtofl

Description

@xtofl

The exercise called 'speed_this_up_by_adding_move_support' has a duration call for a lambda that seems to be compiled away in release builds.

The expectation

    EXPECT_LT(consuming_objects, constructing_objects * 1.1)
        << "consuming: " << consuming_objects
        << " vs. constructing: " << constructing_objects

becomes impossible to meet (consuming: ~1500ms vs. constructing: ~13ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions