Re: Displaying a large amount of data quickly (VB6)
- From: Tom Bates <noneedto@xxxxxxxx>
- Date: Thu, 14 Jul 2005 15:45:50 -0400
>It is my understanding that Join, Replace and Split can all become slow
>when facing a huge amount of data. Since you have a huge existing array
>of data to work with, I would be interested in the time required to load
>the RichTextBox using the SelText solution I posted earlier (repeated
>below so you can just copy/paste it). Could you run that test for us and
>report your findings back here? Thanks in advance.
Rick,
Thanks for making that easy for me. :-)
I did a control-break after 3 minutes, and the loop index was only up
to around 40,000, so it was only about only about 16% done. But if, as
we suspect, it takes longer as more text is added, then it was nowhere
near that far along. Also, memory usage was probably comparable - Task
Manager showed VB6.exe up to about 132MB of memory usage (this is a
Win2k Pro system).
It kinda looks like my suspicion might be correct - that anything
involving a loop of VB code would be too slow.
Thanks for the suggestion though. I really appreciate all the help I
get here.
Tom
.
- Follow-Ups:
- Re: Displaying a large amount of data quickly (VB6)
- From: Ken Halter
- Re: Displaying a large amount of data quickly (VB6)
- From: Karl E. Peterson
- Re: Displaying a large amount of data quickly (VB6)
- References:
- Displaying a large amount of data quickly (VB6)
- From: Tom Bates
- Re: Displaying a large amount of data quickly (VB6)
- From: Tom Bates
- Re: Displaying a large amount of data quickly (VB6)
- From: Rick Rothstein
- Displaying a large amount of data quickly (VB6)
- Prev by Date: Re: Closing All MDI Child Forms
- Next by Date: Re: Closing All MDI Child Forms
- Previous by thread: Re: Displaying a large amount of data quickly (VB6)
- Next by thread: Re: Displaying a large amount of data quickly (VB6)
- Index(es):