[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concurrency via isolated process/thread
From: |
Po Lu |
Subject: |
Re: Concurrency via isolated process/thread |
Date: |
Tue, 18 Jul 2023 13:39:31 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ihor Radchenko <yantar92@posteo.net> writes:
> Also, did you actually profile your use case? I actually doubt that
> reading file takes a long time on modern systems. In my previous tests,
> I tried to open multiple tens of thousands files using
>
> (let ((buffer (get-buffer-create " *Processing*")))
> (with-current-buffer buffer
> (let (buffer-undo-list t)
> (dolist (f files)
> (insert-file-contents f nil nil nil 'replace)
> (do-staff)))))
>
> And it was very, very fast.
Now do this over NFS, and see how much slower it becomes.
Re: Concurrency via isolated process/thread, Po Lu, 2023/07/04
- Re: Concurrency via isolated process/thread, Eli Zaretskii, 2023/07/04
- Re: Concurrency via isolated process/thread, Hugo Thunnissen, 2023/07/18
- Async IO and queing process sentinels (was: Concurrency via isolated process/thread), Ihor Radchenko, 2023/07/18
- Re: Async IO and queing process sentinels (was: Concurrency via isolated process/thread), Ihor Radchenko, 2023/07/18
- Re: Async IO and queing process sentinels, Michael Albinus, 2023/07/18