Bit-Vector reviews

cpanratings
 

RSS | Module Info | Add a review of Bit-Vector

Bit-Vector (7.2) *****

Thank you Steffen!

This is a great module, fast, well documented and very useful!

Bit-Vector (7.1) *****

An extremely well-done module, worth both using and studying. For most practical purposes, you will not need to look further. Even if you do have special requirements, the best way to start is to study Steffen's work. Steffen is clearly a skilled practitioner from the old school of C programmers.

Bit-Vector (7.1) ****

I had to add a new Norm to utilize the popcnt instruction available on newer processors, but the way this module source was set up, adding the call to the gcc built-in function: int __builtin_popcount (unsigned int x) was a breeze.

Bit-Vector (7.1) *****

It was great to discover this module. I needed to implement a ultra-fast search engine on a limited amount of data and decided to try bit vectors. Luckily there was no need to implement the algorithms by myself due to this high-quality module. The speed: simple operations complete in a few nanoseconds and complex operations is a few milliseconds on a vintage PC!

Bit-Vector (6.9)

Tip (did not make it into the docs yet):

If you want to make the output from Data::Dumper more useful when dumping data structures containing Bit::Vector objects, include the following snippet (uncomment one of the three formats depending on your preference) at the top of your code:

use Bit::Vector;
use Data::Dumper;
#sub Bit::Vector::Freeze { my $s = $_[0] . "->[" . $_[0]->Size() . "," . $_[0]->to_Hex() . "]"; return \$s; } # not thawable, only for display

sub Bit::Vector::Freeze { my $s = $_[0] . "->[" . $_[0]->Size() . "," . $_[0]->to_Dec() . "]"; return \$s; } # not thawable, only for display
#sub Bit::Vector::Freeze { my $s = $_[0] . "->[" . $_[0]->Size() . "," . $_[0]->to_Enum() . "]"; return \$s; } # not thawable, only for display
$Data::Dumper::Freezer = 'Freeze';