protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] New implementations in ProjectManager


From: Martin Herren
Subject: Re: [Protux-devel] New implementations in ProjectManager
Date: Mon, 6 Jan 2003 01:06:23 +0100

On Sun, 05 Jan 2003 13:19:13 +0000
Luciano Giordana <address@hidden> wrote:

> I strongly suggest to use a simple bash "cp -a" upon a pipe 
> 
> it can't be faster, and protux is GNU/linux, anyway :-)

downloaded gnu fileutils and looked at their code and learnt alot ;-)

SAVE AS should now be comparatively as fast as 'cp -a'.
(but when you click SAVE_AS, it does a copy and a load, so the whole process is 
still longer that just a 'cp -a')
It now uses a mix between C-file-descriptors and QFiles...
i'll try to use QDataStream so that the code becomes cleaner and more 
C++/QTish, it should be possible to keep it as fast.
But i think one file descriptor will still be needed to obtain the device's 
(disk) prefered blocksize.

Martin

-- 
Open your Windows - Free your Mind - Enjoy
http://gnuwin.epfl.ch

Martin Herren                             +41 (0)79 746 57 83
OpenPGP Public key @ http://www.on-the-web.ch/sputnik/gpg.asc

Attachment: pgpYyIznbIL_n.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]