News for hackers. Stuff that matters.
Re:Ten Commandments of How to Write an IMAP Client (2006) by mehrdadn on Monday October 28, 2019 @01:10PM (#21379000)
The cost of deletions is heavy, and I wouldn't have done it this way, but note that where it really matters is if you have to do this repeatedly in a loop. But you don't have to do it repeatedly -- you can just delete a ton of messages at once, at the same cost as deleting a single once. As long as user perceptions go, the network latency is probably going to dominate shifting down even a million integers (< 2 ms on my machine), which I suspect most people don't even have.

There are no comments on this comment yet.