emacs-devel
[Top][All Lists]
Advanced

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

Re: set-text-properties, remove-set-properties, add-text-properties: 1)


From: Kim F. Storm
Subject: Re: set-text-properties, remove-set-properties, add-text-properties: 1) doc string 2) return value
Date: Thu, 29 Dec 2005 23:41:37 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> I guess, in the case of a buffer, a new string would need to be created.

Exactly -- and a string with all properties duplicated.  Very wasteful, since
the value would be discarded in most (all) cases.

> Is
> that what you meant, or is there also a problem when the OBJECT (string)
> argument is explicitly supplied?

Not performancewise, but IMO it is not worth the efforts to change this just
for the string case.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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