An improvement to Queue

Michael Abbott michael at rcp.co.uk
Fri Feb 1 04:11:36 EST 2002


Jeff Shannon <jeff at ccvcorp.com> wrote in
news:3C59C1AA.58A02B4E at ccvcorp.com: 

> Michael Abbott wrote:
> 
>> It's the transition from empty to non-empty that's important: ....
> 
> What's the point of putting an incomplete command event into the queue
> at all? 

I'm not putting incomplete commands in the queue.  However, the consumer is 
in a position to merge multiple commands together, and I'd like it to have 
the option.

Also, it is in general more efficient to perform jobs in batches, which is 
what I'm trying to do here.



More information about the Python-list mailing list