[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance degradation from long lines
From: |
Phil Sainty |
Subject: |
Re: Performance degradation from long lines |
Date: |
Fri, 26 Oct 2018 15:39:33 +1300 |
User-agent: |
Orcon Webmail |
On 2018-10-26 14:46, mithraeum wrote:
I tried out so-long's wip branch on the same files I tested
longlines.el on, and here are the results:
Thanks for testing.
Then I tried opening the 663K minified JSON file with 671209
characters on one line. It took a little over 4 minutes to open.
There are some fairly conservative default thresholds configured
at present. In particular, `so-long-max-lines' is currently set
to 5, meaning that, following any initial comments/whitespace,
only the first 5 lines will be checked.
I would guess that in the case of this second file, the long lines
did not occur until after that default threshold?
Check M-x customize-group so-long for config options.
I am completely open to changing the default values. I have never
had a firm idea of what they should be set to by default.
-Phil
- Re: Performance degradation from long lines, (continued)
- Re: Performance degradation from long lines, Eli Zaretskii, 2018/10/25
- Re: Performance degradation from long lines, Phil Sainty, 2018/10/25
- Re: Performance degradation from long lines, Eli Zaretskii, 2018/10/26
- Re: Performance degradation from long lines, Stefan Monnier, 2018/10/26
- Re: Performance degradation from long lines, Phil Sainty, 2018/10/27
- RE: Performance degradation from long lines, Drew Adams, 2018/10/27
- Re: Performance degradation from long lines, Phil Sainty, 2018/10/27
- RE: Performance degradation from long lines, Drew Adams, 2018/10/27
- Re: Performance degradation from long lines, Stefan Monnier, 2018/10/27
Re: Performance degradation from long lines, mithraeum, 2018/10/25
Re: Performance degradation from long lines, Phil Sainty, 2018/10/25
Re: Performance degradation from long lines, Stefan Monnier, 2018/10/26
Re: Performance degradation from long lines, Phil Sainty, 2018/10/26
Re: Performance degradation from long lines, Stefan Monnier, 2018/10/27
Re: Performance degradation from long lines, Phil Sainty, 2018/10/27
Re: Performance degradation from long lines, Eli Zaretskii, 2018/10/25