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

List:       koffice-devel
Subject:    Re: koffice
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2008-08-24 10:54:51
Message-ID: 200808241254.51808.t.zachmann () zagge ! de
[Download RAW message or body]

On Saturday 23 August 2008, Thomas Zander wrote:
> SVN commit 851499 by zander:
>
> Fixes: slowness on embedded devices.
>
> Details: On embedded devices like n810 (which uses an Arm processor) usage
> of double is incredably expensive.  In almost all cases our usage of double
> can be done just as well using floats on those devices.
> This is something that Qt does as well using the type 'qreal' which is a
> double on all modern platforms but float on those that don't have double
> natively.  So we get the best of both worlds by replacing double with
> qreal.

when looking through the patch I found the following

bool KoCanvasResourceProvider::doubleResource(int key) const {

I think that should be 

qreal KoCanvasResourceProvider::doubleResource(int key) const {

Can someone with more knowlage about this class confirm.

Thorsten
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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