emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using empty_string as the only "" string


From: Andreas Schwab
Subject: Re: Using empty_string as the only "" string
Date: Wed, 25 Apr 2007 12:50:21 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux)

David Kastrup <address@hidden> writes:

> Andreas Schwab <address@hidden> writes:
>
>> Kenichi Handa <address@hidden> writes:
>>
>>> In article <address@hidden>, Andreas Schwab <address@hidden> writes:
>>>
>>>> Since you can't modify the empty string there is no contradiction.
>>>
>>> You can modify the multibyteness of an empty string,
>>
>> Good point, that makes the optimisation indeed invalid.
>
> How can one modify the multibyteness of any string object?  As far as
> I can see, one can only create copies with a different multibicity.

Not any more with the proposed change in make_uninit_multibyte_string.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]