Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-02 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 368 All time: 6,071 This week: 1,553Up
Version License PHP version Categories  
array-map 0.2GNU General Public Lice...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
Name: Andrew Shcherbakov <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 33
All time rank: 320257 in Ukraine Ukraine
Week rank: 1816 Up29 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  
 100%Total:368All time:6,071
 This week:0This week:1,553Up