On 11 February 2017 at 04:30, Bas Nieuwenhuizen
wrote:
> Was thinking of a sort or other asymptotically more efficient merge
> method, but in the meantime this is
I did get that, I just didn't have the brain power to work out what
would be better, so
just optimised the current code for now.
Dav
Was thinking of a sort or other asymptotically more efficient merge
method, but in the meantime this is
Reviewed-by: Bas Nieuwenhuizen
On Fri, Feb 10, 2017, at 02:07, Dave Airlie wrote:
> From: Dave Airlie
>
> Just noticed we do a fair bit of unneeded searching here.
>
> Since we know that th
From: Dave Airlie
Just noticed we do a fair bit of unneeded searching here.
Since we know that the buffers in a CS are unique already,
the first time we get any buffers, we can just memcpy those into
place, and when we are searching for subsequent CSes, we only
have to search up until where the