On 14.03.19 20:33, C. Scott Ananian wrote:
ps. more ambitious would be to introduce a new "substring" type, which
would share the allocation of a parent string with its own offset and
length fields. That would probably be as invasive as the ZVAL_INTERNED_STR
type, though -- a much much bigger project.
That feature would be incredible to have.
Erlang/Elixir use these concept and it's incredible what they can do
with this.
However, the data types there are also immutable so it's whole other league…
- Markus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php