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

List:       kde-core-devel
Subject:    Re: Glimpse in kdereview
From:       Kåre_Särs <kare.sars () kolumbus ! fi>
Date:       2008-03-31 7:36:20
Message-ID: 200803311036.20496.kare.sars () kolumbus ! fi
[Download RAW message or body]

On Monday 31 March 2008, Aaron J. Seigo wrote:
> from the QImage docs:
>
> "QImage objects can be passed around by value since the QImage class uses
> implicit data sharing."
>
> in this case the QImage is created in the method, then passed back by
> reference to the QImage object in the consumer at which point the QImage in
> makeQImage is destroyed (no further modifications) ... so no data is
> actually copied, just pointers moved around in the dtprs. quite fast, no
> matter what size the image actually is =)

I wish I had known that before I opted in to have libksane 0.1.0 released with 
kde 4.0.2 ....



--
Kåre Särs

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

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