PB4 - Improved File Library

Everything else that doesn't fall into one of the other PB categories.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

PB4 - Improved File Library

Post by va!n »

from the v4 readme i can take the following info:

"File library completely rewritten And now handle a Read/write cache For very fast performances. Also support For 64 bits files."

Thanks to the pureteam for this nice performance optimisations! Btw, i think you are using a 32k buffer or something!? It would be great, if the so called buffer can be user defined! So people writing programs for big movies or big files can use a bigger buffer. just an idea ^^
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Hi va!n,

Yes, the file library is great!

For buffers, From the help:

Syntax
  • FileBuffersSize(#File, Size)
Description
  • Change the size of the buffers for the specified file. This method is available for advanced users, to allow to tune the file access performances. The default buffer size is 4096 bytes per file. If the 'Size' is put to 0, then all caching is disabled, and all write operations are immediately written to the disk. For performance reason, the buffer size should be kept large enough (1028 seems to be ok as minimum). When buffers are used, the information is really written to the disk once the cache buffer is full or when the file is closed.


Is that what you were wanting, or did I get it wrong.
@}--`--,-- A rose by any other name ..
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

ah, thanks! i have taked a look to the readme but didnt foud something! So many thanks for the info ^^
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply