[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66020: [PATCH] Reduce GC churn in read_process_output
From: |
Dmitry Gutov |
Subject: |
bug#66020: [PATCH] Reduce GC churn in read_process_output |
Date: |
Sat, 16 Sep 2023 04:26:11 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
As suggested, I'm filing this in a new bug report for wider review.
The updated patch attached.
The previous discussion was in bug#64735, and the benchmarks (which more
or less hold for the new patch as well) can be viewed here (last table):
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64735#506. Except the new
version somehow performs a little better at read-process-output-max=4096
as well, despite seemingly doing more.
Let me know if I DRYed this too much, or if there are better names for
the extracted common routines, or etc. Or for the new variable
(read-process-output-fast).
read_and_insert_process_output_v2.diff
Description: Text Data
- bug#66020: [PATCH] Reduce GC churn in read_process_output,
Dmitry Gutov <=