[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance of String Operations
From: |
Helmut Eller |
Subject: |
Re: Performance of String Operations |
Date: |
Sun, 11 Oct 2009 17:38:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
* Nordlöw [2009-10-11 08:41+0200] writes:
> Does Emacs contain append/prepend/concat functions for strings that
> modify one of its (first) arguments (for side effects only)?
Emacs has buffers for fast insert/append/prepend.
> 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?
The size of strings is constant an cannot be changed.
Strings are arrays.
> Or does the Emacs compiler optimize such things? Can I somehow
> investigate how Emacs has optimized my lisp code?
M-x disassemble
Helmut