kdeinit (was: Summary from Buildsystem BoF at Desktop Summit)

Thiago Macieira thiago at kde.org
Sun Aug 21 16:23:14 BST 2011


On Sunday, 21 de August de 2011 16:40:32 Oswald Buddenhagen wrote:
> > If there is, you return QString::fromRawData.
> 
> uhm, no, you must make a deep copy, otherwise you get a time bomb.
> but yeah, no conversion, so pretty cheap.

You can also use a QStringData with a regular refcount and just watch as it 
becomes 1. When all the QStrings in this segment of mmapped memory have 
refcount 1 or 0, then you can unmap it.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110821/3b5fcd40/attachment.sig>


More information about the kde-core-devel mailing list