Patch/Thoughts - Konqueror's history loading..

Carsten Pfeiffer kde-optimize@mail.kde.org
Fri, 10 Jan 2003 13:40:05 +0100


-----BEGIN PGP SIGNED MESSAGE-----

On Friday 10 January 2003 05:30, Maks Orlovich wrote:

Hiya,

thanks for doing this, Maks, I put this onto my TODO when I saw David's 
commit, but didn't get to do it yet  The patch looks good to me.

When breaking compatibility anyway, we can also remove the two dummy values 
(not used anymore, used to be maxAge and maxCount) from the history 
saving/loading. Not that this will affect startup time much tho ;)

> Thus, I am not sure of whether to commit what I have right now, or whether
> there can be some ways to speed up other parts. The 75 ms splits up roughly
> as following:
>
> Creating entries, deserializing them    - 26ms

Maybe using a KZoneAllocator for all those items helps a bit.

To David's remark:
We could backup the old file for people who would like to downgrade. We'd need 
some kind of downgrade mechanism in KDE to restore it tho. E.g. on startup, 
the previously run KDE version is compared against the current version and 
some converters are run according to that information. But that's probably OT 
here.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPh6/JaWgYMJuwmZtAQF5xAgApkpI4mm7bLhUTls3iVMivxx54OpfNV+4
7cEzGIsbaiiB/j7zmqGDjIm9bMigq4LWKrjEFHvO2eMu0KQ0hqhr18+j2wgUTLZj
NNDUv7TsesOcyavdypBl9o2jcDz1DAyHica2YpRcCfaLeRjcc9ZEv6bTQtOpMIZj
Ct34fM9O3VfrclAF/F2aOtRXTw5yjwefy4H+ch5bGut01ELx1hilmbJd3EuEau+W
Tk2nLiRwDYckvevHjLvpLkx/+9dc8GeT4uR4AeFuaF70ol084u3NDkS+994Gs158
VWUQ+8C/CBvXwZ/zsirYxMK0KuD6LHsjD/ihWZ/HHQAfeXS+7escVA==
=a+ip
-----END PGP SIGNATURE-----