[Top][All Lists]

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

Re: Toolbar problems with GDB mode.

From: Nick Roberts
Subject: Re: Toolbar problems with GDB mode.
Date: Sun, 12 Jan 2003 00:05:16 +0000

 > > +    (save-excursion
 > > +      (set-buffer buffer)
 > Aka `with-current-buffer'.

When I replaced functions like insert-buffer with insert-buffer-substring, I
noticed that (besides not clobbering the mark) I was replacing a compiled lisp
function with one that was built-in. This presumably had a speed advantage.

with-current-buffer is `just a macro' (for the above construction) as is
dolist (which I have used, so you can teach an old dog *some* new tricks)
so presumably there is no speed advantage. Looking at dolist it might even be
slower. Would it make sense for someone (more clever than me) to re-write
these as built-in functions ?


reply via email to

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