ex2_5

command
v0.0.0-...-94c99f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

The expression `x&(x-1)` clears the rightmost non-zero bit of x. Write a version of `PopCount` that counts bits by using this fact, and assess its performance.

Directories

Path Synopsis
The expression `x&(x-1)` clears the rightmost non-zero bit of x.
The expression `x&(x-1)` clears the rightmost non-zero bit of x.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL