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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||