Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253386

Improve population_count using C++20 popcount

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 16
    • hotspot

      C++20 <bit> provides std::popcount, which is constexpr. However, it only supports unsigned types, so we probably would want to keep the name population_count as a wrapper that also handles signed types.

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: