Skip to content
Snippets Groups Projects
Commit 1aa6e13a authored by Daniele Nicolodi's avatar Daniele Nicolodi
Browse files

bestellanforderung: Optimize

Instead than generating entries for all documents and then drop the
ones already present in the ledger, immediately skip folders for which
an entry with a corresponding "documentation" metadata entry already
exists. This makes a substantial differnece in run time now that there
is a large number of folders.

Switch from os.listdir() to os.scandir() to speed up directory walking.
parent 8394d610
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment