Changes for version 0.04

  • get sub was using POPul -- should use either POPu or POPul/POPuq. Changed to POPu and added a simple test. Data::BitStream has more extensive tests that found this when testing the 'xs' implementation (this module) on LLP64 systems (generally 64-bit Perl on 32-bit O/S). This did not effect LP64 systems (generally 64-bit Perl on 64-bit O/S).
  • Use Inline C when possible for image compression example.
  • Add put_raw implementation.
  • Unified internal stack code. A little faster.
  • Add Generalized Fibonacci, Goldbach G1/G2, Comma, and Block Taboo codes.
  • is_prime and next_prime are available for export if you want them for some reason. They're quite fast, though other packages have some advantages (e.g. Math::Primality is very slow for small numbers but can work with GMP arbitrary size numbers, Math::Prime::XS is faster for generating a range of primes, and Math::Prime::FastSieve should be better if you're doing many operations over a finite range and have some memory).

Modules

A bit stream class including integer coding methods