Subject: Re: bug#20154: 25.0.50; json-encode-string is too slow for large strings

From: Dmitry Gutov <[email-masked]>
Date: Tue, 21 Apr 2015 01:41:54 +0300

On 04/21/2015 01:20 AM, Ted Zlatanov wrote:

> Absolutely, implementing it ourselves is dumb. Because it's been *done
> already* many times, in libjson in particular.

Is libjson available on all our target platforms?

> I think all the time and effort spent on that would be better spent on
> the FFI work, which would also enable libyaml integration and many other
> improvements.

A faster `replace-regexp-in-string' could also mean a slight speed 
improvement in many different places. And that project would be like two 
orders of magnitude simpler than FFI.