Sha256: da9a401c207da9eab05f87fa5f94957162a0cf05b4b3e65eeb6a814551f40bc3

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

# BitsCount

Implementations of population count (Hamming weight in binary case)
using pure ruby.

## Installation

Add this line to your application's Gemfile:

    gem 'bits_count'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install bits_count

## Usage

Example: Calculate bits count in file

(in IRB)
```
require 'bits_count/irb_helper'

count_bits "path/to/some/file.jpg"
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bits_count-0.0.1 README.md