[Kstars-devel] branches/kstars/summer/kdeedu/kstars/kstars/skycomponents

Jason Harris kstars at 30doradus.org
Wed Jun 4 15:34:53 CEST 2008


Really fantastic, Akarsh!

On Tue, Jun 3, 2008 at 3:42 PM, Akarsh Simha <akarshsimha at gmail.com> wrote:
> This seems to have brought down the time to load each star by a factor
> of 6!! On my system, it now takes about 225 seconds on an average to
> load 41560 stars, as against ~1745 seconds earlier. The timing code is
> currently left as it is, for testing this out.
>
I guess you meant milliseconds (ms) here...1745 seconds is about a half-hour! :)

> Some of the newly implemented code could be dangerous, as it uses
> pointers at a very low level. This code is almost surely going to
> result in a segmentation fault when we implement storage and retrieval
> of observing log data and user-added links!
>
What if we stop storing that stuff in the SkyObject itself?  We could
store the collection of observing logs in a QHash indexed by the
object's name, for example.  Same for the links, maybe.

Well done...

Jason


More information about the Kstars-devel mailing list