store uids of messages on the server, because all we do is check for
existance. Move the nextPrime() utility function to somewhere public and
put it in the KMail namespace.
svn path=/trunk/kdepim/; revision=300663
total number of messages and store it in a secret config key and then
retrieve that on the next invocation of KMail and use it to initialize
the dict size to nextPrime( lastSizeHint * 1.1 ).
The fancy math is due to I. Kloecker, who is reportedly good with numbers,
so I'll just take his word for it. ;)
svn path=/trunk/kdepim/; revision=299657
msg dict. Unlike replace() it does not check for already existing entries
with the same serial number, as the calling code ensures that is not
the case. Makes KMail start a bit faster.
svn path=/trunk/kdepim/; revision=299586