diff options
| author | Paul Eggert | 2025-07-13 12:52:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2025-07-13 21:09:40 -0700 |
| commit | c3f96d20eecdf0aa93f294a4f3fb96e16eec6a68 (patch) | |
| tree | 73e54e7956a4d86bdb9418a5cad34562f61597cb /java/org | |
| parent | 55f41ca3aa8fe487d10730708a7396137a2c9d18 (diff) | |
| download | emacs-c3f96d20eecdf0aa93f294a4f3fb96e16eec6a68.tar.gz emacs-c3f96d20eecdf0aa93f294a4f3fb96e16eec6a68.zip | |
Avoid some tiny /proc file reads
* src/fileio.c (union read_non_regular):
New members buf and bufsize replace inserted and trytry.
(read_non_regular): Adjust to this new, simpler interface.
(Finsert_file_contents): If the gap is smaller than read_buf
and we want to read more than the gap, read into read_buf
first, to avoid lots of tiny reads from /proc files.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions