[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC]: replace-region-contents
From: |
Eli Zaretskii |
Subject: |
Re: [RFC]: replace-region-contents |
Date: |
Wed, 06 Feb 2019 18:00:22 +0200 |
> From: Tassilo Horn <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Tue, 05 Feb 2019 18:19:13 +0100
>
> > In what version of Emacs? I think it was slow in 26.1, but wa ssped
> > up significantly since then.
>
> Master as of today.
>
> > If you are using emacs-26 or the master branch from Git, and it is
> > still slow, can you show an example where it's slow, and tell how much
> > time it took?
>
> I prepared a tar.xz with a synthetic, huge, one-line JSON file generated
> by https://next.json-generator.com and a lisp file benchmarking the
> current against my proposed version of `json-pretty-print'.
>
> https://drive.google.com/open?id=1kKahq3csBVXWL-nN1-eMhgDctGWBN1AR
Ouch!
I guess we'd need to limit use of replace-region-contents to small
enough JSON strings?
- Re: [RFC]: replace-region-contents, (continued)
Re: [RFC]: replace-region-contents, Stefan Monnier, 2019/02/03
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/04
- Re: [RFC]: replace-region-contents, Stefan Monnier, 2019/02/04
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/05
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/05
- Re: [RFC]: replace-region-contents, Eli Zaretskii, 2019/02/05
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/05
- Re: [RFC]: replace-region-contents,
Eli Zaretskii <=
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/06
- Re: [RFC]: replace-region-contents, Eli Zaretskii, 2019/02/06
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/06
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/08
- Re: [RFC]: replace-region-contents, Stefan Monnier, 2019/02/08
- Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/08
- Re: [RFC]: replace-region-contents, Eli Zaretskii, 2019/02/08
- Re: [RFC]: replace-region-contents, Stefan Monnier, 2019/02/08
Re: [RFC]: replace-region-contents, Eli Zaretskii, 2019/02/08
Re: [RFC]: replace-region-contents, Tassilo Horn, 2019/02/08