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

List:       kde-pim
Subject:    Re: [Kde-pim] Akonadi Commandline Interface Project
From:       Jonathan Marten <jjm2 () keelhaul ! demon ! co ! uk>
Date:       2014-03-01 8:35:37
Message-ID: ovlhwue2p2.fsf () keelhaul ! local
[Download RAW message or body]

Kevin Krammer <krammer@kde.org> writes:
> One thing that came to my mind was a bit of refactoring of the current 
> prototype.
>
> When designing the first commands I fell into the trap of premature 
> optimization, i.e. trying to delay construction of the application object 
> until its event loop was really required.
>
> That makes some of the command initialization stuff needlessly complicated, 
> because it needs to delay translation, etc.

Probably not really worth trying to do this optimisation.  Although
there is indeed some overhead in constructing the application object,
I'm guessing that this would be negligible in comparison with any
Akonadi work (connecting to the MySQL database, resolving an
item/collection etc).  So if it would make the code less complicated
(not having to be careful when to use i18n/ki18n etc) then go ahead.

Regards, Jonathan

-- 
Jonathan Marten                         http://www.keelhaul.demon.co.uk
Twickenham, UK                          jjm2@keelhaul.demon.co.uk
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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