Re: [PATCH] libgst: Fix small amount of sleeps on OSX

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 20 Apr 2015, at 04:35, Paolo Bonzini <[email protected]> wrote:
> 
>          int64_t deltaMicro = deltaNano < 1000 ? 1 : deltaNano / 1000;

use <= 1000 so we avoid the “1000 / 1000” multiplication that gcc 4.9.2
doesn’t appear to optimize away.

but yes, nice simplificiation
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.