PHP effective data structures

in PHP6 years ago (edited)

As software engineers, we know that we need to use the proper data structure to handle each task. Depending on the data structure we use to process a collection, we might not achieve our goals at all.

On PHP, we don't have that concern, because we have one way of dealing with all of them: Arrays. We can reduce greatly the memory usage, and related to that, improve the performance of the application.

This is the extension source: https://github.com/php-ds/ext-ds

To install you just need to run:

pecl install ds

For some benchmarking about this package, you can check here: https://medium.com/@rtheunissen/efficient-data-structures-for-php-7-9dda7af674cd

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.080
BTC 61920.54
ETH 1620.69
USDT 1.00
SBD 0.40