[PHP-DEV] JIT and data locality?

2019-03-17 Thread Robert Hickman
I saw in a previous discussion on the addition of JIT that performance in web applications wasn't improved due to data locality issues. I was just wandering weather it would be possible to/worthwhile to add more facility to control data layout, for those who may wish to do so, while leaving the exi

Re: [PHP-DEV] On fixing DOMNameSpaceNode and DOM NS API Inconsistency Problems

2019-03-17 Thread Benjamin Eberlei
On Wed, Mar 13, 2019 at 4:36 PM Rob Richards wrote: > There were specific reasons for it tho I can't recall all the details off > the top of my head. Part of it related to the underlying structures of > attributes and namespace nodes not being the same and cannot be user > interchangeable in the

Re: [PHP-DEV] On fixing DOMNameSpaceNode and DOM NS API Inconsistency Problems

2019-03-17 Thread C. Scott Ananian
On Sun, Mar 17, 2019, 9:34 AM Benjamin Eberlei wrote: > > It is still a draft but Thomas and I have started working on an RFC and > code to update ext/dom to cover the latest standard release: > https://wiki.php.net/rfc/dom_living_standard_api - we plan on proposing > that soon, maybe you have so

Re: [PHP-DEV] Re: [Proposal] Struct Data Types

2019-03-17 Thread Larry Garfield
On Sat, Mar 16, 2019, at 4:43 AM, Rowan Collins wrote: > On 16 March 2019 05:18:55 GMT+00:00, Larry Garfield > wrote: > >In general, though, I think beefing up objects to be "more usable as > >structs" (locked against dynamic properties, getter/setter methods, > >possibly some improved tooling fo

Re: [PHP-DEV] On fixing DOMNameSpaceNode and DOM NS API Inconsistency Problems

2019-03-17 Thread Benjamin Eberlei
On Sun, Mar 17, 2019 at 2:52 PM C. Scott Ananian wrote: > On Sun, Mar 17, 2019, 9:34 AM Benjamin Eberlei > wrote: > >> >> It is still a draft but Thomas and I have started working on an RFC and >> code to update ext/dom to cover the latest standard release: >> https://wiki.php.net/rfc/dom_living

Re: [PHP-DEV] RFC Draft: Comprehensions

2019-03-17 Thread Andrea Faulds
Hi, Stanislav Malyshev wrote: Finally, Python makes a distinction between list comprehensions using [] and generator expressions using (). This proposal effectively corresponds to generator expressions, but uses the [] syntax. I'm wondering if that will cause confusion. Do we need this disti

[PHP-DEV] PHP on OSS-fuzz

2019-03-17 Thread Stanislav Malyshev
Hi! Looking at the recent PHP security issues, it is clear that many of them are stemming from corner cases in various format-parsing code, and most of them either is or can be found by fuzzers. Thus, I've made an initial integration for PHP on OSS-fuzz project - a fuzzing engine for testing open

Re: [PHP-DEV] On fixing DOMNameSpaceNode and DOM NS API Inconsistency Problems

2019-03-17 Thread Rob Richards
On 3/17/19 6:52 AM, C. Scott Ananian wrote: > On Sun, Mar 17, 2019, 9:34 AM Benjamin Eberlei wrote: > >> It is still a draft but Thomas and I have started working on an RFC and >> code to update ext/dom to cover the latest standard release: >> https://wiki.php.net/rfc/dom_living_standard_api - we

Re: [PHP-DEV] dom_reconcile_ns performance (or lack thereof)

2019-03-17 Thread Rob Richards
I'll need to revisit this. Its purpose is to both avoid redundant namespace declarations as well as avoid internal memory corruption of ns nodes in documents. iirc it should only be walking back up the tree to a node that might have declared the namespace being referenced. Rob On 3/14/19 12:34 PM

[PHP-DEV] Re: [PHP-CVS] com php-src: Fixed bug #75113: Added DatePeriod::getRecurrences() method.: NEWS ext/date/php_date.c ext/date/php_date.h ext/date/tests/DatePeriod_getter.phpt

2019-03-17 Thread Sebastian Bergmann
Am 17.03.2019 um 19:37 schrieb Derick Rethans: Commit:6eb83a63e1833f0991af4c5533269c8af96c Author:Ignace Nyamagana Butera Tue, 26 Feb 2019 21:21:46 +0100 Committer: Derick Rethans Sun, 17 Mar 2019 14:37:35 -0400 Parents: f167b06d4c86c96291c21c027ba3cae22f5b5be8 Bran