Subject: bug#44273: "total used in directory 19 available 5.2 GiB"

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Oct 2020 12:23:22 +0100

Mattias Engdegård <[email-masked]> writes:

> Definitely, and if it is faster to fork another process and parse its
> output with slow regexps in Emacs to do the job of what ordinarily
> just takes a few syscalls, then we aren't doing our job properly. It's
> not hard to read directories efficiently.

True.  If `ls-lisp' (or something similar) isn't fast enough, then it
should be pretty easy to add a C-level function for efficient directory
reading.  (But we'd still need the parser for Tramp.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no