[Info-vax] VMS MAIL: order of DELETE
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Sun Oct 20 18:50:19 EDT 2019
On 2019-10-20, Volker Halle <volker_halle at hotmail.com> wrote:
> Phillip,
>
> routine mail$cmd_delete in module [MAILSHR] has:
>
> INCR i FROM 1 TO .mail$gl_message_count
>
> where mail$gl_message_count is 'Number of messages selected'
>
> So if specifying MAIL> DELETE/ALL all the selected mails seem to be
> deleted in ascending message number order.
>
Wouldn't it be more efficient to delete the files in reverse order ?
That way, if you are deleting a large number of messages at once,
you don't end up having to shuffle down directory blocks which are
going to be deleted anyway.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list