[Top][All Lists]

[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.


reply via email to

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