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

  Author Author  
Picture of Andrew Shcherbakov
Name: Andrew Shcherbakov <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 33
All time rank: 320357 in Ukraine Ukraine
Week rank: 750 Up19 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Andrew Shcherbakov  >  PHP Array Map class  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Array Map class
Base name: array-map
Description: Manipulate arrays in a memory efficient way
Version: 0.2
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 367 users
All time rank: 6065
Week users: 2 users
Week rank: 870 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  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

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download Download all files: array-map.tar.gz array-map.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.