[all-commits] [llvm/llvm-project] 4608df: [libc++] Simplify __bitset::__init (#121357)

Peng Liu via All-commits all-commits at lists.llvm.org
Wed May 28 09:10:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4608df5b9fea7322714fc5fe7e6bcc5e5e3a666a
      https://github.com/llvm/llvm-project/commit/4608df5b9fea7322714fc5fe7e6bcc5e5e3a666a
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M libcxx/include/bitset
    M libcxx/test/benchmarks/bitset.bench.cpp

  Log Message:
  -----------
  [libc++] Simplify __bitset::__init (#121357)

This PR simplifies `__bitset::__init` into a more compact and readable
form, which avoids redundant computations of a `size_t` value and
eliminates the overhead of a local array.



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