[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance of String Operations
From: |
Xah Lee |
Subject: |
Re: Performance of String Operations |
Date: |
Sun, 11 Oct 2009 03:05:33 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Oct 10, 11:41 pm, Nordlöw <per.nord...@gmail.com> wrote:
> Does Emacs contain append/prepend/concat functions for strings that
> modify one of its (first) arguments (for side effects only)?
>
> If so, why not?: Isn't such a function crucial to the performance of a
> language, regarding that strings is such a common object type?
>
> Or does the Emacs compiler optimize such things? Can I somehow
> investigate how Emacs has optimized my lisp code?
>
Hi Nordlöw,
i don't quite understand your question.
> modify one of its (first) arguments
?
> (for side effects only)?
?
you mean modify a variable fed to the string function, or something
like that?
functional languages don't do that in general.
Xah
∑ http://xahlee.org/
☄