[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Syntax and Hard Newlines
From: |
Stefan Monnier |
Subject: |
Re: Patch: Syntax and Hard Newlines |
Date: |
Wed, 15 Nov 2006 11:37:42 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
>> or change byte-opt.el to mark the `propertize' function with
>> `byte-optimize-pure-func' rather than with `side-effect-free'.
> But then byte-compilation would change the semantics of `propertize'.
Slightly, yes.
> -- Function: propertize string &rest properties
> This function returns a copy of STRING [...]
Yes, with byte-optimize-pure-func the result would still be a different
string than the argument, but the result would just always be the same
string rather than creating a new one each time. As you've noticed this is
already done for `concat' (and this has been the case for a long time
already). Elisp strings are almost never modified, so it's not
a big problem.
Stefan
- Re: Patch: Syntax and Hard Newlines, (continued)
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/16
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/30
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/30
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Miles Bader, 2006/11/15
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/15
- Re: Patch: Syntax and Hard Newlines, Johan Bockgård, 2006/11/15
- Re: Patch: Syntax and Hard Newlines,
Stefan Monnier <=
- Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/16
- Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/16
- Re: Patch: Syntax and Hard Newlines, Johan Bockgård, 2006/11/24
Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/14
Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/13
RE: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14