Extremely large text files do not give up useful information
readily. Even if the tools used to index them or jump to
a particular location are fast, it's still a chore for users
to get information out of them.
Databases are much better at storing and using huge
amounts of data. Nobody looks at a huge text file
and thinks "I'd like to jump to line 150,000 at this point"
they just think "what a useless large text file- how on
earth am I going to find the information I want here??"
Enforcing a fixed limit on the size of text file that your
GUI application can handle would not be unreasonable.
Or handling huge files with less functionality is another
option- for example the Linux "less" paging program
gives you the option to abort line number calculation
when it reads in huge files, giving you the option of
getting the file up faster at the cost of losing
the "go to line 235,000" functionality.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|