When using <clack-app-directory> to list a directory with big files the system hangs for a while.
The reason seems to be file-size taking up a lot of time. Why not use file-length instead of reading each file byte per byte to determine the file size?
When using
<clack-app-directory>
to list a directory with big files the system hangs for a while.The reason seems to be
file-size
taking up a lot of time. Why not usefile-length
instead of reading each file byte per byte to determine the file size?