Re: [code] TA loading big C file

From: Brian Schott <briancschott.att.gmail.com>
Date: Thu, 20 Dec 2012 11:23:53 -0800

I just built this from hg on my VM at work. I can now load a 25k line XML
file (1.6MB) instantly, with a ctrl+end taking about 4 seconds.

On Sat, Dec 15, 2012 at 7:28 PM, Mitchell <m.att.foicica.com> wrote:

> John and All,
>
>
> On Sat, 3 Nov 2012, John Hind wrote:
>
> Yes, IMHO TA needs some improvements in the way it loads large files. I
>> tried a 700K byte (6300 lines) HTML/Javascript file and it takes 1min 9
>> secs
>> to load!
>> [snip]
>>
>
> I committed a small change[1] to hg that loads large files *instantly*
> (provided they were not in a session file with caret positions far down in
> the files). I cannot believe I didn't think of the solution before! I was
> going down the wrong path for a while before figuring this out. However, if
> you load a big file and press Ctrl+End (goto end of file), the UI will
> still block until the entire file is lexed by Scintillua, but this is
> similar behavior to SciTE (tested on 741k, ~7000 line ScintillaDoc.html)
> and thus acceptable for the time being. I will see what I can do to speed
> up lexing, but this initial hurdle has been cleared.
>
> Cheers,
> Mitchell
>
> [1]: http://foicica.com/hg/**textadept/rev/63e57ff158fb<http://foicica.com/hg/textadept/rev/63e57ff158fb>
>
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 20 Dec 2012 - 14:23:53 EST

This archive was generated by hypermail 2.2.0 : Fri 21 Dec 2012 - 06:53:07 EST