aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-01-05 16:42:14 -0800
committerCarl Worth <cworth@cworth.org>2010-01-06 10:32:06 -0800
commit2a98b1d48795e66754435e06e28cdf58ab1dd154 (patch)
tree80c9638dbc9978eeec78d3a65b1898a4c55ab4c0 /lib/database.cc
parent28ce73848d98d8ee2b661733402e2c10b13418d5 (diff)
add_files_recursive: Make the maildir detection more efficient.
Previously, we were re-scanning the entire list of entries for every directory entry. Instead, we can simply check if the entries look like a maildir once, up-front.
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions