ext-ds
ext-ds copied to clipboard
An extension providing efficient data structures for PHP 7
$abs = new \Ds\Map([1,2,3]); xdebug_break(); xdebug shows 'can not get property' inside the $abs in PHPStorm But with \Ds\Vector xdebug works correct, that is why I create issue here.
Python example: ``` python a = dict() a['a'] = 3 a['b'] = 2 a['c'] = 1 print a ``` ``` {'a': 3, 'c': 1, 'b': 2} ``` I had this...
Would be nice to show how some common tasks can be achieved with appropriate structures.
Maybe also test these? Someone might be relying on grep. -__-
This reduces the number of allocations and indirection. Instead of ``` c typedef struct _php_ds_map_t { zend_object std; ds_map_t *map; } php_ds_map_t; ``` use ``` c typedef struct _php_ds_map_t {...
After some time on inactivity in the repo it disables the action so it has to be manually enabled. Meanwhile it's not running for new PRs
Hi, I noticed version 1.5.0 was published on PECL but there is no DLL for Windows available. Is it something that will be generated automatically in the next weeks or...
Hi @rtheunissen. I use this extension every day, and in our current project, I have been creating wrappers for classes to handle concurrency with OpenSwoole. That's not the point of...
Packaging new 1.6.0 release for Alpinelinux faced that tests for PHP 8.3 and 8.4 fails very probably because of PHPUnit 11/12 ref https://gist.github.com/andypost/280a059bfe467ed98839b3c5a3da9774 that's mostly deprecations like ``` 302) Ds\Tests\VectorTest::testToArray...