trussed-dev / trussed

Modern Cryptographic Firmware
https://trussed.dev
Apache License 2.0
413 stars 26 forks source link

Improve iteration complexity #105

Open sosthene-nitrokey opened 1 year ago

sosthene-nitrokey commented 1 year ago

Provide a read_dir_nth() syscall that starts iteration not at the first file. Same for read_dir_files_nth(). This can reduce the time taken by paging mechanisms like in our secrets-app.

This could be further optimized by https://github.com/trussed-dev/littlefs2/issues/32