Re: [dev] [hack] Having dmenu provide hints about current selected entry

From: Christophe-Marie Duquesne <chm.duquesne_AT_gmail.com>
Date: Wed, 1 Dec 2010 11:39:39 +0100

On Wed, Dec 1, 2010 at 2:34 AM, Ramil Farkhshatov <ramil_AT_gmx.co.uk> wrote:
> it doesn't run match() on each item, that increases speed and
> reduces cpu usage. But conditions to run match() must be reconsidered:
> in this patch it is called once a second.

Would it make sense to call match() only when there is nothing left to
read on stdin (in your example, that would be when readstdin() returns
0)?
Received on Wed Dec 01 2010 - 11:39:39 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 01 2010 - 11:48:02 CET