Viewing huge files with a Qt app
-
@deisik
You think it would take a couple of hours to do your parsing on a 90MB/1GB file?!Anyway, why don't you try it out and check for yourself?
Sorry, you would like me to write and test what you want? Not to mention, without even knowing what your "parsing" entails? That's not how it works: YOU can "try it out and check for yourself?" since it's your issue, not me.
-
Sorry, you would like me to write and test what you want?
No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"
@deisik said in Viewing huge files with a Qt app:
then feel free to make statements that "something is not right"
If you think parsing such a file should take hours then I suggested something is not right. Feel free to ignore my suggestions, I was trying to help you but won't bother if that is your reaction.
-
Sorry, you would like me to write and test what you want?
No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"
@deisik said in Viewing huge files with a Qt app:
No, just try opening a 90Mb file with QTextEdit (QPlainTextEdit), then feel free to make statements that "something is not right"
Just tried an 86MB file read into
QPlainTextEdit
and displaying it. About 8 seconds. Not exactly "hours". Now can I make my statement suggesting that "something is not right" in your estimation/finding? And btw this is considerably quicker that loading it into a text editor.That file (typical text?) came out as 2.5 million lines of text. As an end user I'm not sure what the point of displaying that many lines to me is anyway. So you still have the option of only reading/displaying portions as user scrolls to reduce it considerably if you wish.