Closed yzqzss closed 1 year ago
Use set instead of list to speed up the scanning of large numbers of files (>10000) in images/.
set
list
images/
Benchmark: (one million files in images/ dir)
Set: one million files/s List: 40 files/s
Use
set
instead oflist
to speed up the scanning of large numbers of files (>10000) inimages/
.Benchmark: (one million files in
images/
dir)453