Shop OBEX P1 Docs P2 Docs Learn Events
Which is better? — Parallax Forums

Which is better?

KyeKye Posts: 2,200
edited 2009-12-28 16:42 in Propeller 1
Hey Guys, I have a few more general questions that·I hope a few people answer on the funtionality for a new file system driver I'm making.

So...

Which is better? Being able to open a file for either·reading or writing? Or being able to open a file for reading and writing?

If the file is open for both at the same time then when reading the file I will still have to flush data to the disk before getting the next chunk which could slow down file read speed... signifacntly.

However, you get the ability to switch between reading and writing seemlessly.·So what is perfered?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

Comments

Sign In or Register to comment.