bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21616: [PATCH] Enable sorting of JSON object keys when encoding


From: Simen Heggestøyl
Subject: bug#21616: [PATCH] Enable sorting of JSON object keys when encoding
Date: Thu, 12 Nov 2015 18:37:33 +0100

Thanks for your time, Dmitry. Installed!

On Thu, Nov 12, 2015 at 3:39 AM, Dmitry Gutov <dgutov@yandex.ru> wrote:
Hi Simen, On 11/11/2015 08:59 PM, Simen Heggestøyl wrote:
How about keeping the old encoding code as the default, and only do the {hash-table, plist} → alist transform when the output is to be sorted? That keeps new code to a minimum, and the they would need to be transformed to an intermediate structure to be sorted anyway. A patch implementing this suggestion is attached. Here are the same benchmarks with the new patch applied:
LGTM, please install. Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]