View previous topic :: View next topic |
Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Wed Mar 23, 2005 5:08 pm Post subject: |
|
|
Quote: | Well in that case I would have thought BINFILE WRITE would be just as quick. |
Not sure. I seem to recall experimenting with the Binfile commands and having some issues with larger files. (It might have been a binary file issue when combining two files and using various I/O instances. I recall testing Binfile vs. vdsug.dll, and vdsug.dll won out over speed..
For plain text, it may be just as fast... I'll have to experiment a bit... |
|
Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Wed Mar 23, 2005 5:39 pm Post subject: |
|
|
I wrote an 8MB file in 1.8 seconds with BINFILE, so I would have thought it was fast enough, but you are probably right that the other methods are faster still. The BINFILE command and function were rubbish anyway, and will be replaced in VDS 6 by brand new commands that use the Windows API directly, instead of using the Delphi file I/O functions. They are probably the cause of the relative slowness. VDS 6 writes the same 8MB string in 0.4 seconds.
VDS 5 @BINFILE fails (without even setting @OK() to false) trying to read in the 8MB file. This is probably a memory management problem. So VDS 5 and earlier should not be used for very large files. External DLLs should be OK as long as the data is held within the DLL and not transferred in its entirety to a VDS list or variable.
VDS 6 is also very significantly faster reading and writing large string lists, like an 8MB file with 150,000 separate lines in it.
Sorry, I keep writing "is" but of course it's "will be" for the rest of you. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Wed Mar 23, 2005 7:01 pm Post subject: |
|
|
No fair dropping the VDS6 teasers! You'll get everyone too worked up over it.
Notice how I am not asking questions like:
What are the new features?
When will it be released?
Notice how I'm not asking those? _________________ Joe Floyd |
|
Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Wed Mar 23, 2005 8:02 pm Post subject: |
|
|
After I wrote the message above, I read in another thread that it was slower than expected due to problems in Delphi.
Hopefully those problems can be worked out. We all appreciate your hard work, Jules - and eagerly await the next update of this great software. _________________ Joe Floyd |
|
Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Thu Mar 24, 2005 9:01 am Post subject: |
|
|
I think it'll be worth waiting for.
It's worth mentioning that VDS 6 will also support VDS 5 runtimes, so you will be able to continue to develop projects using VDS 5 that you don't wish to migrate, and will even be able to choose to continue to use VDS 5 for simpler projects where you prefer the advantages of the smaller runtime. This is a more important benefit than you might think because VDS 6 will have the option to create integrated EXEs that don't require a runtime DLL and integrated VDS 5 EXEs are about half the size of those that use VDS 6.
So there is no reason for anyone to delay getting VDS 5 just because VDS 6 is coming in a few months time. I've been using the new VDS 6 IDE to maintain my many VDS 5 projects for a while now, and some of them I'll probably never bother to migrate. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
 |
JRoza Contributor


Joined: 17 Aug 2003 Posts: 182 Location: Netherlands
|
Posted: Thu Mar 24, 2005 11:42 am Post subject: |
|
|
Integrated runtimes in the exe file ........... that's music to my ears!
The more you tell about VDS6 the more eager I become to get my hands on version 6.
Keep on teasing us with inside ifo about the new release  |
|
Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Thu Mar 24, 2005 12:38 pm Post subject: |
|
|
DITTO
I to am looking forward to VDS 6.0 it sounds awsome.  |
|
Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sun Mar 27, 2005 11:51 pm Post subject: |
|
|
that sounds great jules
serge _________________
|
|
Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Mar 28, 2005 12:53 am Post subject: |
|
|
Sounds awesome!! Keep up the good work!!  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
 |
Cipper Newbie
Joined: 21 Jun 2001 Posts: 22 Location: Trieste Italy
|
Posted: Tue Apr 12, 2005 12:22 pm Post subject: |
|
|
I have resolved! I use the list in order to load and the table in order to visualize the last records. |
|
Back to top |
|
 |
|