emacs-devel
[Top][All Lists]
Advanced

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

Re: transpose-regions


From: Stefan Monnier
Subject: Re: transpose-regions
Date: Fri, 23 Mar 2007 18:50:34 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

> Personally, I think the best solution is to rewrite transpose-regions
> in Lisp.

> The reason it is written in C is to avoid the need to copy either
> piece of text into a string temporarily.

I can see that, but given the fact that it's only used interactively (where
the performance impact is likely to be unnoticeable) or in gnus/deuglify.el
and game/tetris.el, I think the that performance gains do not justify
the pain and risk of writing and optimizing it in C.


        Stefan




reply via email to

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