On Sun, Apr 26, 2009 at 05:26:09PM +0100, Bob W scripsit:
> Graydon wrote:
> > On Sun, Apr 26, 2009 at 12:10:35PM -0400, Matthew Miller scripsit:
> > > On my K10D, it's significantly slower to delete-all.
> > 
> > Delete all = couple hundred to a couple thousand operations on the
> > FAT, depending on the number of files on the card.  Especially in
> > the camera, it's probably a case of "open FAT, delete file #1, write
> > FAT back out, close FAT, open FAT, delete file #2, ....".
> 
> it's highly unlikely to commit the FAT to disk after every delete. It
> would be spectacularly inefficient and pointless.

And DOS did it that way up until 6.0 or so -- delete wildcard was "get
everything that matches wildcard; apply delete to each thing in the
resulting list, one at a time".

In-camera user-driven file operations are probably not where any
optimization from Pentax is going, on the one hand, and I'll bet they'd
prefer to do things to minimize the possibility of data loss over speed,
on the other, and on any leftover appendage, software has never seemed
like the Pentax strong point.

-- Graydon

--
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to