Re: [Spice-devel] [PATCH] improve performances comparing image pixels

2015-09-04 Thread Jonathon Jongsma
ACK, but a couple minor commit log nits On Thu, 2015-09-03 at 16:48 +0100, Frediano Ziglio wrote: > This patch contains a bit of small optimizations. > It avoid booleans operations which could involve branches replacing booleans -> boolean > with binary operations (equal/all_ident -> some_differ

[Spice-devel] [PATCH] improve performances comparing image pixels

2015-09-03 Thread Frediano Ziglio
This patch contains a bit of small optimizations. It avoid booleans operations which could involve branches replacing with binary operations (equal/all_ident -> some_differences). The other optimization avoid the use of ABS. First the way the macro was used (with a large expression) was not easy to