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

Akarsh Simha akarshsimha at gmail.com
Thu Jun 5 20:26:14 CEST 2008


Hi Jason,

> > 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! :)

Yeah, I meant milliseconds.

> > 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.

Yes, this seems to be a good idea. I'll need to read James' emails
pertaining to this before I make any further comments on this.

> Well done...

Thanks!

Regards
Akarsh
-------------- 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/20080605/3aef1e51/attachment.pgp 


More information about the Kstars-devel mailing list