FastFile for PB4?

Just starting out? Need help? Post your questions and find answers here.
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

FastFile for PB4?

Post 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?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post 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.
Last edited by netmaestro on Mon Jan 08, 2007 7:58 pm, edited 1 time in total.
BERESHEIT
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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.
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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? :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

And what about PureFILE by Gnozal ?
does it have "mapped file" technic inside ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Flype wrote:And what about PureFILE by Gnozal ?
does it have "mapped file" technic inside ?
No, buffered only.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

ok, thanks for the reply gnozal.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Just drop FastFile libs in to PB4 and works fine. Its faster.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

lol, magic magic........
SPAMINATOR NR.1
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Rings wrote:lol, magic magic........
Faster than PB read file commands, not faster than PB 3.94 running FastFile! :lol:
Post Reply