package
module
Version:
v0.0.0-...-863800c
Opens a new window with list of versions in this module.
Published: May 30, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
go-popcount

Description
PopCount implementation for Go. Using hardware POPCNT instruction if available it.
Installation
This package can be installed with the go get command:
go get github.com/hideo55/go-popcount
Documentation
API documentation
License
MIT License
Documentation
¶
Package popcount is PopCount implementation for Go.
Using hardware POPCNT instruction if available it.
Count function counts number of non-zero bits in 64bit unsigned integer.
CountSlice function counts number of non-zero bits in slice of 64bit unsigned integer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.