Skip to content

<execution>: cache thread::hardware_concurrency #1134

Description

@AlexGuteniev

Currently does not cache hardware_concurrency value, like it used to in certain configurations.

GetNativeSystemInfo may be a system call, so it may defeat the speedup obtained by parallel algorithms.

Consider caching it again.

Note that since number of CPUs may change at runtime, it may be a good idea to refresh the value after some GetTickCount64 interval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedSomething works now, yay!performanceMust go faster

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions