[all-commits] [llvm/llvm-project] a01f8c: Speed up compilation of typical invocations of std...

higher-performance via All-commits all-commits at lists.llvm.org
Wed Jul 29 19:39:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a01f8c85bcac35be5b6b9d5f081a3763feb5b530
      https://github.com/llvm/llvm-project/commit/a01f8c85bcac35be5b6b9d5f081a3763feb5b530
  Author: higher-performance <higher.performance.github at gmail.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M libcxx/include/variant

  Log Message:
  -----------
  Speed up compilation of typical invocations of std::visit(std::variant<...>) for up to 11 types (#164196)

Similar to https://reviews.llvm.org/D90168 which was reverted (https://github.com/llvm/llvm-project/issues/62648#issuecomment-1832315651), but uses `switch` statements rather than function pointer tables.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list