Re: [PHP-DEV] File system watcher/monitoring

2013-02-15 Thread Victor Berchet
On 02/14/2013 03:03 PM, Ivan Enderlin @ Hoa wrote: Hi internal, A missing feature in PHP is a file system watcher/monitoring available for almost all platforms. On Linux, we have inotify (available in PHP through pecl/inotify), on Mac OS X, we have /dev/fsevents (not available in PHP, since

Re: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution

2013-01-29 Thread Victor Berchet
On 01/29/2013 10:47 AM, Martin Keckeis wrote: From the perspective of the end-user this would be really great! If it could really be done in 2 months -> wait for it. Why should we break the PHP release process by 2 months+ to include O+ ? There are alternatives (APC to name one) and O+ might

Re: [PHP-DEV] How about implementing more data structures (ie Map, Set)

2012-12-21 Thread Victor Berchet
I don't have much time to work on this now. More next year ! Have ahappy Xmas. On 12/20/2012 09:43 PM, Levi Morrison wrote: As mentioned earlier, I've been working on a library(https://github.com/morrisonlevi/Ardent) with an honest effort to make the data-structures usable in several different

Re: [PHP-DEV] How about implementing more data structures (ie Map, Set)

2012-12-18 Thread Victor Berchet
On 12/18/2012 07:46 PM, Anthony Ferrara wrote: Victor, If you give a closer look to my example, you will notice a difference: $map[$setA] and $map[$setB] point to the same storage which I think is not possible with SPLObjectStorage. Well, how could you do that? Without implementin

Re: [PHP-DEV] How about implementing more data structures (ie Map, Set)

2012-12-18 Thread Victor Berchet
I am happy to see some interest in this discussion, I'll try to give more details in the coming days. To clarify, my first example should be: $setA = new Set(); $setA->append('a'); $setA->append('a'); $setB = new Set(); $setB->append('a'); // 'a' instead of 'b' $setA == $setB; Cheers, Victor

[PHP-DEV] How about implementing more data structures (ie Map, Set)

2012-12-18 Thread Victor Berchet
Dear all: I would like to get your feedback on implementing some more data structure in the PHP core. Things like Set, Map could be really helpful. A Set would be an unordered collection with no duplicate elements (same as in Python) $setA = new Set(); $setA->append('a'); $setA->append('a'