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

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

bug#31138: Native json slower than json.el


From: Eli Zaretskii
Subject: bug#31138: Native json slower than json.el
Date: Mon, 22 Apr 2019 20:26:45 +0300

> Cc: p.stephani2@gmail.com, sebastien@chapu.is, yyoncho@gmail.com,
>  31138@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Mon, 22 Apr 2019 20:11:33 +0300
> 
> I was kind of expecting to continue on the "fast validation" route, and 
> check whether DATA contains non-ASCII bytes in the exact way we want 
> them. And simply abort otherwise.

I don't think we should abort, we don't do that anywhere else.

> > You can see one example of that in
> > w32select.c:w32-get-clipboard-data.
> 
> Hmm, I'm not seeing any calls to code_convert_string in w32select.c.

Of course!  Look for decode_coding_object.





reply via email to

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