help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [External] : Passing buffers to function in elisp


From: tomas
Subject: Re: [External] : Passing buffers to function in elisp
Date: Sat, 25 Feb 2023 14:45:56 +0100

On Sat, Feb 25, 2023 at 12:23:22PM +0100, Michael Heerdegen wrote:

[...]

> If `emms-info-native--read-and-decode-ogg-page' is called very often
> (hundreds of times or more), it's probably better to use one single
> buffer instead of a fresh temp buffer every single time.  Using temp
> buffers creates quite a bunch of garbage IME.

And then do (erase-buffer) then (insert-file-contents-literally)?

Cheers
- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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