php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Disabled not necessary msgno getting procedure.

Open szymekjanaczek opened this issue 3 years ago • 0 comments

Hi @Webklex

I've increased the performance of message fetching procedure. In the setUid method was (from my point of view) not necessary line getting msgno. So I decided to remove it - because when we get messages via UID (and it's been checked before, e.g. in setSequenceId()), there is no need in using msgno. Could you validate whether it makes sense?

Result: (in my case) reduced 6 seconds to 0.8s

Greetings!

szymekjanaczek avatar Sep 22 '22 06:09 szymekjanaczek