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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 Mar 2015 23:14:26 +0200

> Date: Fri, 20 Mar 2015 20:42:14 +0200
> From: Dmitry Gutov <[email-masked]>
> CC: [email-masked]
> 
> Making the string 10 times longer increases the runtime by ~5 here (0.1 
> -> 0.5). Another 10x increase in length makes it run 4.3 seconds.

So maybe writing this in C is the way to go.