Skip to content

P2996 - compilation time benchmarks #163

@kris-jusiak

Description

@kris-jusiak

Some initial exploration of the P2996 meta-programming model in terms of compilation times and comparison to different approaches such as boost.mp11, circle, etc. Thought it could be beneficial to share it here.

Libraries

Proposals

Compilers

Results

Notes

  • Since the meta-programming is based on consteval the performance of abstract machine has a huge impact.
  • Meta-programming with P2996 can be done either with ranges or without. The former is much faster to compile.
  • Compiler support is still in the early stages, and while compilation is likely to improve, at this point, there is a huge difference between P2996 and, for example, boost.mp11.

Repository

Missing

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