PHP Classes

PHP Array Map class: Manipulate arrays in a memory efficient way

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 402 All time: 6,514 This week: 289Up
Version License PHP version Categories
array-map 0.2GNU General Publi...5.2PHP 5, Data types
Description Author

This package can manipulate arrays in a memory efficient way.

It provides classes implement the interfaces so its objects can be manipulate like regular array values, but internally elements are stored in memory efficient ways.

Two special array element storage modes use SplFixedArray to optimize arrays using a pre-defined size, and in the binary mode it uses PHP memory stream wrapper to store array elements as compact memory entries.

Innovation Award
PHP Programming Innovation award nominee
August 2013
Number 6

Prize: One year Codenvy Developer hosted cloud IDE premium plan
Arrays are often used to manipulate large sets of information.

When the data sets are too large, they may take too much memory and slow down array manipulation operations.

This class implements a solution that is more efficient than using the regular PHP arrays. It may use either fixed sized arrays or the memory stream wrapper to store a more compact version of the array elements in memory.

Manuel Lemos
Picture of Andrew Shcherbakov
  Performance   Level  
Name: Andrew Shcherbakov <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 41
All time rank: 351558 in Ukraine Ukraine
Week rank: 563 Up10 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageclasses (2 files)
Plain text file b002648.txt Doc. cubic prime numbers
Plain text file COPYING.txt Doc. gnu gpl 3.0
Plain text file test.php Example Example script

  Files folder image Files  /  classes  
File Role Description
  Plain text file arraymap.php Class Class source
  Plain text file hashmap.php Class new hash class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,514
This week:289Up