[Kstars-devel] branches/kstars/carbonix/kstars

Victor Carbune victor.carbune at gmail.com
Sun May 30 18:04:57 CEST 2010


SVN commit 1132408 by vcarbune:

Migrated the information regarding Deep Sky Objects from the text files (ngcic.dat, image_url.dat, info_url.dat) to the database.

Directly added the generated database in the data directory (kstars.db)
The database can also be generated using the KStarsDB class (example in DeepSkyComponent::loadData())
The files image_url_full.dat and info_url_full.dat are the original files, used to create the database

Review request. Benchmarks show that improvements still need to be done (working on them).
The ASCII File was loaded in about 1 sec, while the db is being loaded in 2 sec (timer, in the code)
The loading speed will actually be important on bigger datasets (not just ngcic.dat)
The file has 1MB, while the db has 2MB.

CCMAIL: kstars-devel at kde.org, asimha at gmail.com, prak902000 at gmail.com, victor.carbune at kdemail.net


 _M            . (directory)  
 M  +0 -1      kstars/CMakeLists.txt  
 M  +2 -0      kstars/data/CMakeLists.txt  
 M  +0 -683    kstars/data/image_url.dat  
 A             kstars/data/image_url_full.dat  
 M  +0 -146    kstars/data/info_url.dat  
 A             kstars/data/info_url_full.dat  
 D             kstars/data/tools/ngctodb (directory)  
 M  +9 -2      kstars/kstarsdata.cpp  
 M  +2 -0      kstars/kstarsdata.h  
 M  +122 -4    kstars/kstarsdb.cpp  
 M  +8 -0      kstars/kstarsdb.h  
 M  +94 -33    kstars/skycomponents/deepskycomponent.cpp  


http://websvn.kde.org/?view=rev&revision=1132408


More information about the Kstars-devel mailing list