Re: [PHP-I18N] Re: surrogates optimization

[email protected] (Andrei Zmievski)
Newsgroups php.i18n
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.