Re: Re: surrogates optimization

From: Date: Wed, 08 Mar 2006 20:43:34 +0000
Subject: Re: Re: surrogates optimization
References: 1 2 3  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-967@lists.php.net to get a copy of this message
How do we make sure that nothing changes the string contents without also updating the index of the first surrogate? -Andrei On Mar 8, 2006, at 11:48 AM, Derick Rethans wrote:
On Wed, 8 Mar 2006, Andrei Zmievski wrote:
Tex, This approach would work only if we allowed access to the string contents always via regimented API. Unfortunately, many third party extensions (and many bundled ones) simply change the contents of the string directly via a pointer.. I am not sure we could standardize this.
I think we should seriously consider this though, as it makes many of the string functions quite a bit faster. Derick


« previous php.i18n (#967) next »