Use sorted message array with binary
searches/inserts. This speeds up the mh/maildir operations considerably. Testing on a MH folder with 6000 messages shows the following data: Time of execution List Array+Bsearch % Speedup (times) scan 24.795 7.526 30.3 3.294 refile (to) 10.915 0.068 0.6 160.514 rmm 10.893 0.105 1 103.742
Showing
4 changed files
with
42 additions
and
36 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment