[MyMH] An API Lacking

Wednesday, October 19th, 2005 12:23 am
flwyd: (mathnet - to cogitate and to solve)
[personal profile] flwyd
More API disappointment -- Email::Folder doesn't have a method for adding messages. You can delete with Email::Delete, but there's no Email::Add, so the refile operation is important. Without the ability to move messages from one folder to another, a complete mail system cannot be built.

On the performance front, scan over a 1925 message maildir with Email::Folder took 13 seconds, Mail::Box takes 47 seconds. show took 8 seconds with Email::Folder while Mail::Box took only 3. Finally a random-access payoff, though still a bit sluggish.

Another option would be to have my own personal mail daemon which listens to my mh commands and delivers results. That way I'd only have to pay the folder overhead cost when opening that folder.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2026

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Monday, February 2nd, 2026 08:33 pm
Powered by Dreamwidth Studios