Visit Publisher Site

This PHP class is used for economical storage of large vectors of 0/1 values. Bit vectors are useful, for example, in prime number generation. The native PHP array is much too powerful for the job, and far too costly in memory: the overhead is 208 bytes per element (on a 64-bit system), or 1667 times the optimum size. Class bitvec stores packed bits in an SplFixedArray of integers, considerably reducing the storage required.

Visit publisher site: Bitvec

Listing Details

Filed in:
Scripts / PHP / Scripts & Programs / Development Tools / Libraries & Classes
Submitted on:
Last Updated:
Jan 19, 2013 
Other listings by this publisher

License & Pricing Information

License Type:
0.00 GBP
Additional Info:

User Reviews 

Be the first to review this listing!
  • Not yet reviewed by any member.... You can be the FIRST one to write a review for Bitvec