[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: 'lightweight' QDir::isAbsolutePath replacement ?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-03-06 14:58:20
Message-ID: 200803061558.26514.thiago () kde ! org
[Download RAW message or body]


On Thursday 06 March 2008 13:42:08 Ralf Habacker wrote:
> The only static method Qt provides to handle this platform independent
> is QDir::isAbsolutePath(). Unfortunally this method seems to be very
> time expensive because it creates a temporary QDir instance.

QDir, QFile and QFileInfo's performance are areas that we want to focus on for 
Qt 4.5. If this isn't performance critical now, I'd recommend not going to 
extra lengths to duplicate the code.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic