[Kstars-devel] KDE/kdeedu/kstars/kstars/skyobjects
Akarsh Simha
akarshsimha at gmail.com
Thu Jun 4 06:13:02 CEST 2009
On Wed, Jun 03, 2009 at 10:10:17PM +0400, Alexey Khudyakov wrote:
>
> > Particularly "dangerous" areas are Conjunctions, Planets section of
> > AstroCalculator and the Deep Star Component, as far as I can remember.
> >
>
> And if Deep Star Component and friend will bomb at some moment I wouldn't
> mind much. They are broken anyway. Mixing malloc/free and C++ object won't do
> any good unless these objects could be expressed as C structs. They don't have
> nontrivial destructors and so on... SkyObject do have nontrivial destructor.
But the mix of malloc/free and C++ objects is done for time
optimization. We checked that removing the ctor drastically increased
speed of loading.
I'll anyway check that it works. It's time for the KDE 4.3 release.
> Stars in StarBlock do not release AuxInfo when deleted because 'free' is used
> not 'delete'.
Hmm... will check that.
Regards
Akarsh
More information about the Kstars-devel
mailing list