speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/4] use for cycle in get_message_from_queues to progress via pri


From: Christopher Brannon
Subject: [PATCH 3/4] use for cycle in get_message_from_queues to progress via priority queues
Date: Sun, 31 Oct 2010 21:20:15 +0000

Andrei Kholodnyi <andrei.kholodnyi at gmail.com> writes:

> if/else statements were used to progress via priority queues
> replace them with for statement

This is an excellent patch!  Personally, I'd like to see more of this
sort of thing.  The iterative approach is far more readable than the
cascaded conditionals, IMHO.

-- Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101031/47a18541/attachment.pgp>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]