[all-commits] [llvm/llvm-project] 1b5f69: [libc++] Avoid including <cmath> in <compare> (#80...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Feb 8 10:23:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b5f6916199ce09244cdb52c6911f2028e6ca95a
      https://github.com/llvm/llvm-project/commit/1b5f6916199ce09244cdb52c6911f2028e6ca95a
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M libcxx/include/__compare/strong_order.h
    M libcxx/include/__compare/weak_order.h
    M libcxx/include/compare
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv

  Log Message:
  -----------
  [libc++] Avoid including <cmath> in <compare> (#80418)

This reduces the time to include `<compare>` from 84ms to 36ms.




More information about the All-commits mailing list