Hi Peter,
On Tue, 05 Mar 2013 12:16:54 -0600, Peter Tyser wrote:
> On Tue, 2013-03-05 at 09:06 +0100, Jean Delvare wrote:
> > Stop checking for pin availability in get functions. These functions
> > can be called repeatedly, so checking every time is bad for
> > performance.
> >
> > Instead, chec
Hi Jean,
On Tue, 2013-03-05 at 09:06 +0100, Jean Delvare wrote:
> Stop checking for pin availability in get functions. These functions
> can be called repeatedly, so checking every time is bad for
> performance.
>
> Instead, check at pin request time. This only happens once, and we can
> let the
Stop checking for pin availability in get functions. These functions
can be called repeatedly, so checking every time is bad for
performance.
Instead, check at pin request time. This only happens once, and we can
let the caller know of the unavailability much earlier.
Signed-off-by: Jean Delvare
3 matches
Mail list logo