On 5/20/16, Quan Yong Zhai <qydi at msn.com> wrote:
> Dear SQLIte developers,
>
> Here is a small patch for the linked-list merge sorter in SQLite
> to sort N items,
> It will save  about 2*N CPU instructions  by eliminate  unnecessary null
> pointer check,

Thank you for the optimization suggestion.

The merge-sort logic is updated here:
https://www.sqlite.org/src/info/9033afbb31b28a8a

The performance and size improvement is very slight, but every little bit helps.

-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to