[ jedit-Feature Requests-918301 ] poor performance with large text files.
SourceForge.net <noreply <at> sourceforge.net>
2009-11-02 13:26:02 GMT
Feature Requests item #918301, was opened at 2004-03-17 22:03
Message generated for change (Comment added) made by kpouer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350588&aid=918301&group_id=588
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
>Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tyler Ward (vertigre)
Assigned to: Nobody/Anonymous (nobody)
Summary: poor performance with large text files.
Initial Comment:
Jedit does a tolerable job of opening medium size text
files, but is no match for UltraEdit with large files.
if there was a way to easily open very large files,
that would be very nice.
This is the algorithm I reccomend, though it's just a
though.
1) If the file size is over a set limit, go into large
file mode.
2) In large file mode, on opening a file, scan through
it for newlines and record the position of each newline.
3) Count the lines (number of newlines found) and load
up an area around the current text display window, this
can be done by seeking to the appropriate spot in the
file. For instance, if someone scrolls 2/3 of the way
down a million line file, then you need to load in
lines around line 670,000, and you conveniently know
the offset into the file of the line, because you made
a table of it. So you pick your spot, then load in a
few thousand lines above and below, using that as the
display. Whenever the user gets too close to the edge,
refresh it.
This is a big task, but something that jedit should
consider if it is going to become the ultimate text
editor.
-Tyler
----------------------------------------------------------------------
>Comment By: Matthieu Casanova (kpouer)
Date: 2009-11-02 14:26
Message:
moved to feature requests
----------------------------------------------------------------------
Comment By: rletzler (rletzler)
Date: 2009-11-02 05:21
Message:
jEdit also gives no feedback about progress beyond telling us that 1 i/o
operation is in progress, so it is difficult to tell whether it is hard at
work opening a huge file or has frozen up. Some kind of prominent percent
done text or thermometer display would be quite useful.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350588&aid=918301&group_id=588
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
--
-----------------------------------------------
jEdit Developers' List
jEdit-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel