now i been told that pb is fast (and it been fast for what i seen)
but now i have a problem in my packing program that unpacking them and writing them are extreamly slow
it takes almost a full min to unpack a 7 meg file i did some testing and i found it was the loops
whats even more intresting is that moving the file with diffrent types of loops (to see which was the fastest) got the same speed except for one type, for loops the for loop (with debuggin off) got 1 second inrease in speed and in debug it 3-5 while "while" loops and repeat loops were identical
and the speed test i did was copying the same file to the same location
now it still about a minute
is this a bug with the beta or is it something else like my hd or is this the way it is...
looping speed or file writing speed?
looping speed or file writing speed?
~Dreglor
PB's file operations aren't very optimized...
You should search for Rings' FastFile library..
You should search for Rings' FastFile library..
AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
explain in short the problem and fix to all of us, we can learn! (or so we do hope)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )

