[Kstars-devel] Loading all star name data into memory in StarComponent::readData

Akarsh Simha akarshsimha at gmail.com
Wed Jun 4 02:39:05 CEST 2008


Hi

I tried implementing James' suggestion of loading all star name data
beforehand into memory, so that we avoid disk seeks.

It seems to make no difference on my system, but will temporarily use
quite some memory to store the names. Although memory usage is
negligible, I decided to revert my changes and just keep a patch.

I've attached the patch. Let me know in case you get different
results, or if I should commit the patch to the branch.

Sorry for giving a dumb filename to the patch. Didn't concentrate on
those things :D

Regards
Akarsh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: starcomponent_load_namedstars_into_memory.patch
Type: text/x-diff
Size: 4077 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080604/f04965e6/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080604/f04965e6/attachment-0001.pgp 


More information about the Kstars-devel mailing list