[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 979308b4ca 5/9: org-export-data: Concatenate strings in tempo
From: |
Stefan Monnier |
Subject: |
Re: master 979308b4ca 5/9: org-export-data: Concatenate strings in temporary buffer for performance |
Date: |
Thu, 16 Jun 2022 08:19:33 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii [2022-06-16 04:09:44] wrote:
> org-export-data: Concatenate strings in temporary buffer for performance
>
> * lisp/org/ox.el (org-export-data): Use temporary buffer to collect export
> data instead of `mapconcat'. Using buffer puts less load on garbage
> collector.
AFAICT this just replaces `mapconcat` with a `with-temp-buffer + dolist
+ insert`, so if this makes a significant performance difference, it
points to a performance problem in our `mapconcat`, right?
Stefan
- Re: master 979308b4ca 5/9: org-export-data: Concatenate strings in temporary buffer for performance,
Stefan Monnier <=