Hi,
I know we were talking about this couple times on IRC, but I always
forget the result, so I'm rather asking:

Is, or will there be, any mass property fetching capability for libmapi
implemented?

This is because of evolution-mapi, it's very slow when updating local
cache of a folder content, mainly because it's opening each message and
fetching properties on it (it's using more properties than those
available in MAPI "summary"), so that open & close of the message in the
folder can take unbelievable time.

We were talking on something like streaming, if I recall correctly,
which I imagine like a series of steps:
 a) open a folder
 b) set properties interested in
 c) set restriction on items (or none, for each item in the folder)
 d) start fetching, either in a loop or with some kind of callback
    called on each message properties (you see I'm not in message
    itself, only in properties - so avoiding message open and close)
 e) stop fetching
 f) close folder

Implementation details of d) (like described above) are not crucial, the
only thing is simplicity and avoiding unnecessary overhead of invoking
whole stack of functions down to RPC too many times.

I hope you know what I mean, because updating folder with thousands of
messages takes minutes these days.
        Thanks and bye,
        Milan

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to