Page 1 of 4
Posted: Sat Mar 29, 2003 9:36 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
I released finaly first version of FastFile on the Resourcesite
This new Library extends Purebasic' Commandsets for Files, especially for dealing with very Big binary files.
You can easily crypt or check very big files (tested here with more than 100MB-Files) very fast.
Following Commands are implemented:
FastOpenFile
FastCloseFile
FastReadData
FastReadLong
FastReadWord
FastReadbyte
FastWriteData
FastWriteLong
FastWriteWord
FastWritebyte
FastFileCRC32
FastFileMD5
Feel free to use it in your own Programms
Download at:
http://www.reelmediaproductions.com/pb/ ... stFile.zip
written in pure Assembler and linked in EXESIZE-Friendly Object-format
Posted: Sun Mar 30, 2003 5:10 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Im a regular user of FastFile, its great and really fast!!
Thanks Rings
Best Regards
Ricardo
Dont cry for me Argentina...
Posted: Sun Mar 30, 2003 11:09 pm
by BackupUser
Restored from previous forum. Originally posted by Max..
Very nice!
135 MB
FileCopy/PB - 18s. (first run), 6s. following runs
Library/Byte - 3s. on any run
Library/Fast - 0.6s. on any run
MD5 speeded by 50%
Max.
AMD Athlon, Matrox G550, Win 2K SP3, IE 6.0, PB 3.62
Posted: Mon Mar 31, 2003 9:35 am
by BackupUser
Restored from previous forum. Originally posted by fred.
> Library/Fast - 0.6s. on any run (for 135 MB right)
What HD have you ?!

.
Fred - AlphaSND
Posted: Mon Mar 31, 2003 1:17 pm
by BackupUser
Restored from previous forum. Originally posted by Max..
Originally posted by fred
> Library/Fast - 0.6s. on any run (for 135 MB right)
What HD have you ?!

.
Fred - AlphaSND
RAM-Disk
Max.
AMD Athlon, Matrox G550, Win 2K SP3, IE 6.0, PB 3.62
Posted: Mon Mar 31, 2003 3:48 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.
Originally posted by fred
> Library/Fast - 0.6s. on any run (for 135 MB right)
What HD have you ?!

.
Fred - AlphaSND
I have HD(array) here that can copy a 240 MB file to another HD(array) in 2 seconds

Not for the regular PC user though
Regards,
Berikco
http://users.pandora.be/berikco/purebasic.htm
Posted: Mon Mar 31, 2003 6:10 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
Originally posted by Berikco
Originally posted by fred
> Library/Fast - 0.6s. on any run (for 135 MB right)
What HD have you ?!

.
Fred - AlphaSND
I have HD(array) here that can copy a 240 MB file to another HD(array) in 2 seconds

Not for the regular PC user though
Regards,
Berikco
http://users.pandora.be/berikco/purebasic.htm
Psst: Berikco, be quit and do not tell others about my trash i give you for playing with the kidz
Its a long way to the top if you wanna .....CodeGuru
Posted: Tue Apr 01, 2003 5:42 pm
by BackupUser
Restored from previous forum. Originally posted by cor.
@rings
Nice lib
I want to use it to read Large preferences files into an array and process it internal.
If its possible do you have you an example
Now it takes about 5 sec (389KB) to read the following preference file into memory.
;Software Registrations
[SETTINGS]
number = 2140
;====================================
[reg0]
product = 0100000000
username = xxxxxx
refnummer = xxxxxx
orderdate = 01/22/1999
email = xxxxxx
comment =
;
;====================================
[reg1]
product = 0100000000
username = Cor de Visser
refnummer = xxxx
orderdate = 01/22/1999
email = [url]mailto:
cdvisser@tref.nl">
cdvisser@tref.nl
comment =
;
and so on till number 2140
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
<a href="
http://www.ready4music.com[/url]
http://www.chordplanet.com
Posted: Tue Apr 01, 2003 6:13 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
@Cor you mean stringarray ?
Fred says that it was nice to process Strings(Line per line) with fastfile.
i will take a look now to to it (Only FastFileLineRead )
Its a long way to the top if you wanna .....CodeGuru
Posted: Tue Apr 01, 2003 6:21 pm
by BackupUser
Restored from previous forum. Originally posted by cor.
@rings
Yes, FastFileLileRead() would be very nice
Nice would also be to implent the Preference functions into FastFileLineRead()
e.g.
Result$ = FastReadPreferenceString(Keyword$, DefaultValue)
This will read the data from memory just loaded e.g. into an array.
This will make access to a large database very fast.
What do you think?
So you can build a very fast database
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com
Posted: Tue Apr 01, 2003 8:48 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
@Cor you inspired me to do a lot more.
I have done first Tests with new Commands
The Holybiblefile(~4 MB) has about 32kb lines
My Scanning took under 0.4 secs(nothing optimzed)
LineCount=FastFileReadTextfile(Filename.s)
Then you can get everyline you like with
Content.s=FastFileReadLine(Linenumber)
so you do not have to copy to an array
More suggestion is welcome
Its a long way to the top if you wanna .....CodeGuru
Posted: Tue Apr 01, 2003 9:05 pm
by BackupUser
Restored from previous forum. Originally posted by cor.
@Rings,
Wow, your fast
If you have things wanted to test please mail me at [url]mailto:
cdvisser@tref.nl">
cdvisser@tref.nl
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
<a href="
http://www.ready4music.com[/url]
http://www.chordplanet.com
Posted: Wed Apr 02, 2003 3:16 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
Okay folks, first Beta of
FastFileText
is downloadable at:
http://www.terrorkommando.de/fastfiletext.zip
Its a long way to the top if you wanna .....CodeGuru
Posted: Wed Apr 02, 2003 9:35 pm
by BackupUser
Restored from previous forum. Originally posted by cor.
@Rings,
Thanks for the beta.
problem:
If line only contains '0D0A' PB crashes
Kernel32.dll error
if you use fastreadline(x)
win98 se
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com
Posted: Thu Apr 03, 2003 5:36 am
by BackupUser
Restored from previous forum. Originally posted by Rings.
Originally posted by cor
@Rings,
Thanks for the beta.
problem:
If line only contains '0D0A' PB crashes
Kernel32.dll error
if you use fastreadline(x)
win98 se
Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com
thx for your comment COR on this 'BETA'
yes, i did not check for those (NULL) Lines
i hope at weekend i can fix it
Its a long way to the top if you wanna .....CodeGuru