Page 1 of 1
FastFile for PB4?
Posted: Mon Jan 08, 2007 6:55 pm
by ricardo
Hi
Trying to find fastfile for PB 4, but was refferer to PBOSL but i don't see it there.
Is there a FastFile for PB4?
Posted: Mon Jan 08, 2007 6:58 pm
by netmaestro
Prior to PureBasic v4, file operations were not buffered. There was a need for a buffered file solution which would dramatically speed up file operations, and as a result the PBOSL FastFile library was created. It works well and serves a real need for pre- v4 PureBasic users. However, with the release of 4.0, Fantaisie made buffered file operations native and for current versions of PureBasic, FastFile is unnecessary as native functions provide equal or better performance. Hence it is unlikely the lib will ever be released for version 4.
Posted: Mon Jan 08, 2007 7:36 pm
by Fred
Rings used a "mapped file" technic which is probably faster than the build-in functions but it shouldn't be a problem now.
Posted: Mon Jan 08, 2007 8:46 pm
by ricardo
Fred wrote:Rings used a "mapped file" technic which is probably faster than the build-in functions but it shouldn't be a problem now.
Rings, why not FastFile for PB4?

Posted: Mon Jan 08, 2007 10:15 pm
by ts-soft
here can you found the source for PB 3.94
http://www.purearea.net/pb/download/use ... SL_SRC.zip
i think recompile should work
Posted: Tue Jan 09, 2007 12:35 am
by Flype
And what about PureFILE by Gnozal ?
does it have "mapped file" technic inside ?
Posted: Tue Jan 09, 2007 8:48 am
by gnozal
Flype wrote:And what about PureFILE by Gnozal ?
does it have "mapped file" technic inside ?
No, buffered only.
Posted: Tue Jan 09, 2007 10:53 am
by Flype
ok, thanks for the reply gnozal.
Posted: Tue Jan 09, 2007 6:48 pm
by ricardo
Just drop FastFile libs in to PB4 and works fine. Its faster.
Posted: Tue Jan 09, 2007 10:05 pm
by Rings
lol, magic magic........
Posted: Tue Jan 09, 2007 10:28 pm
by ricardo
Rings wrote:lol, magic magic........
Faster than PB read file commands, not faster than PB 3.94 running FastFile!
