All Projects → php-ds → Ext Ds

php-ds / Ext Ds

Licence: mit
An extension providing efficient data structures for PHP 7

Programming Languages

c
50402 projects - #5 most used programming language
M4
1887 projects

Projects that are alternatives of or similar to Ext Ds

Php Ext Xlswriter
🚀 PHP Extension for creating and reader XLSX files.
Stars: ✭ 1,734 (-13.73%)
Mutual labels:  extension, pecl
pharext
Distribute your PHP extension as self-installing phar executable
Stars: ✭ 57 (-97.16%)
Mutual labels:  extension, pecl
My Notes
Simple and fast note-taking in Chrome with Google Drive support.
Stars: ✭ 155 (-92.29%)
Mutual labels:  extension
Absolutedoubletrace
A web extension to block browser fingerprinting
Stars: ✭ 156 (-92.24%)
Mutual labels:  extension
Data Structures Algorithms
Your personal library of every algorithm and data structure code that you will ever encounter
Stars: ✭ 157 (-92.19%)
Mutual labels:  data-structures
D.s.a Leet
References and summary for leetcode high-frequency algorithm problems
Stars: ✭ 155 (-92.29%)
Mutual labels:  data-structures
C Plus Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
Stars: ✭ 17,151 (+753.28%)
Mutual labels:  data-structures
Embb
Embedded Multicore Building Blocks (EMB²): Library for parallel programming of embedded systems. Star us on GitHub? +1
Stars: ✭ 153 (-92.39%)
Mutual labels:  data-structures
Lru Cache
💫 A feature complete LRU cache implementation in C++
Stars: ✭ 162 (-91.94%)
Mutual labels:  data-structures
Rea
Lightweight library of data structures implemented in C++11, designed for constant time insertion, erasure, lookup, and fastest possible iteration.
Stars: ✭ 157 (-92.19%)
Mutual labels:  data-structures
Sc
Common libraries and data structures for C.
Stars: ✭ 161 (-91.99%)
Mutual labels:  data-structures
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (-92.19%)
Mutual labels:  data-structures
Datagene
DataGene - Identify How Similar TS Datasets Are to One Another (by @firmai)
Stars: ✭ 156 (-92.24%)
Mutual labels:  data-structures
Aura Theme
💅 A beautiful dark theme for your favorite apps.
Stars: ✭ 159 (-92.09%)
Mutual labels:  extension
Comment Spell Checker
Xcode extension for spell checking and auto-correcting code comments.
Stars: ✭ 155 (-92.29%)
Mutual labels:  extension
Blog
Our open source benchmarks and code samples
Stars: ✭ 162 (-91.94%)
Mutual labels:  data-structures
Sparkmonitor
Monitor Apache Spark from Jupyter Notebook
Stars: ✭ 154 (-92.34%)
Mutual labels:  extension
Pygm
🐍 Python library implementing sorted containers with state-of-the-art query performance and compressed memory usage
Stars: ✭ 156 (-92.24%)
Mutual labels:  data-structures
Redux Data Structures
Reducer factory functions for common data structures: counters, maps, lists (queues, stacks), sets, etc.
Stars: ✭ 157 (-92.19%)
Mutual labels:  data-structures
Cs offer
计算机学科基础知识和主流编程语言相关内容的总结
Stars: ✭ 2,016 (+0.3%)
Mutual labels:  data-structures

Data Structures for PHP 7

Build Status Build status PECL

An extension providing specialized data structures as efficient alternatives to the PHP array. You can read about it in more detail in this blog post which highlights the API, performance and other benefits of using the extension.

Documentation

Documentation is available on php.net. You should also include the polyfill in your project for IDE integration.

Installation

The easiest way to install the extension is to use PECL:

pecl install ds

If you're on Windows, you can download a compiled .dll on PECL or under releases.

Enabling the extension

You'll need to add extension=ds.so to your primary php.ini file.

If you encounter an "undefined symbol" error, see #2.

# To see where .ini files are located
php -i | grep "\.ini"

You can also enable the extension temporarily using the command line:

php -d extension=ds.so

Note: Windows would use php_ds.dll instead.

Testing

There is a suite of PHPUnit tests that can be installed using Composer.

composer install   # Install the test suite
composer test      # Run the tests
composer memtest   # Run the tests checking for memory leaks

Compatibility

You may include the polyfill as a dependency in your project. This allows your codebase to still function in an environment where the extension is not installed.

Contributing

Please see CONTRIBUTING for more information.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].