Subject: Re: bug#76103: [PATCH] New function 'process-output'

From: Alvaro Ramirez <[email-masked]>
Date: Fri, 07 Feb 2025 14:01:45 +0000

Thanks Eli.

Eli Zaretskii <[email-masked]> writes:

> I'm not sure a 2.5 boost in performance

(let ((before (benchmark-run 1000
                (shell-command-to-string "seq 200")))
      (after (benchmark-run 1000
               (process-output "seq" "200"))))
  (/ (car before)
     (car after))) => 3.27

Roughly a 3.27 gain, or should I calculate differently?

> (on which platform, btw?) justifies yet another API.

macOS. Need to grab a hold of a linux box to get equivalent 
figure.

>   We need to think about the downsides of
> enlarging Emacs: the need to document each new API, the need to
> maintain it, the need to somehow explain which one of the 
> alternatives
> to use in each case, etc.

Makes sense.

>
> But let's see what other maintainers think.

Sounds good.